Skip to main content

Joel Liu's Library tagged Security   View Popular

05 Apr 07

Security for GWT Applications - Google Web Toolkit | Google Groups

  • It is a sad truth that JavaScript applications are easily left
    vulnerable to several types of security exploits, if developers are
    unwary.  Because the Google Web Toolkit (GWT)
    produces JavaScript code, we GWT developers are no less vulnerable to
    JavaScript attacks than anyone else.  However, because the goal of GWT
    is to allow developers to focus on their users' needs instead of
    JavaScript and browser quirks, it's easy to let our guards down.  To
    make sure that GWT developers have a strong appreciation of the risks,
    we've put together this article.
30 Mar 07

Linux.com | Advanced SSH security tips and tricks

  • SSH time-lock tricks


    You can also use different iptables parameters to limit connections to the
    SSH service for specific time periods. You can use the /second, /minute, /hour,
    or /day switch in any of the following examples.


    In the first example, if a user enters the wrong password, access to the SSH
    service is blocked for one minute, and the user gets only one login try per
    minute from that moment on:


    ~# iptables -A INPUT -p tcp -m state --syn --state NEW --dport 22 -m
    limit --limit 1/minute --limit-burst 1 -j ACCEPT
    ~# iptables -A INPUT -p tcp
    -m state --syn --state NEW --dport 22 -j DROP


    In a second example, iptables are set to allow only host 193.180.177.13 to
    connect to the SSH service. After three failed login tries, iptables allows the
    host only one login try per minute:


    ~# iptables -A INPUT -p tcp -s 193.180.177.13 -m state --syn --state
    NEW --dport 22 -m limit --limit 1/minute --limit-burst 1 -j ACCEPT
    ~#
    iptables -A INPUT -p tcp -s 193.180.177.13 -m state --syn --state NEW --dport 22
    -j DROP

  • ~# iptables -A INPUT -p tcp -m state --syn --state NEW --dport 22 -m
    limit --limit 1/minute --limit-burst 1 -j ACCEPT
    ~# iptables -A INPUT -p tcp
    -m state --syn --state NEW --dport 22 -j DROP


    In a second example, iptables are set to allow only host 193.180.177.13 to
    connect to the SSH service. After three failed login tries, iptables allows the
    host only one login try per minute:


    ~# iptables -A INPUT -p tcp -s 193.180.177.13 -m state --syn --state
    NEW --dport 22 -m limit --limit 1/minute --limit-burst 1 -j ACCEPT
    ~#
    iptables -A INPUT -p tcp -s 193.180.177.13 -m state --syn --state NEW --dport 22
    -j DROP

25 Dec 06

All about Linux: Various ways of detecting rootkits in GNU/Linux

  • This script will check for and detect around 58 known rootkits and a couple of sniffers and backdoors and make sure that your machine is not infected with these. It does this by running a series of tests which check for default files used by rootkits, wrong file permissions for binaries, checking the kernel modules and so on. Rootkit Hunter is developed by Michael Boelen and has been released under a GPL licence.

网络安全-一个在Linux系统下的入侵响应案例

  • 这条记录显示在7月3号的下午14:01:01秒,有人使用news账号从82.77.188.56成功登录了系统,经查,82.77.188.56是一个罗马尼亚的地址。根据对方直接使用news账号登录这一点来看,对方攻击成功的时间应该早于7月3号14点,因为系统默认情况下news账号是内置账号没有密码并无法登录,但是我们查看/etc/shadow文件却发现如下记录
1 - 20 of 45 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo