store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Thu May 23, 2013 8:05 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 3 posts ] 
Author Message
 Post subject: List of SSH Commands needed
Unread postPosted: Mon Oct 20, 2008 2:51 pm 
Offline
Forum User
Forum User

Joined: Mon Sep 29, 2008 9:28 pm
Posts: 5
I have ASL, but with Ensim and therefore I do not have a gui interface. I am somewhat familier with ssh and it seems that will be the only way to really see what is going on.

I am currently trying to check on an issue regarding hotlinked images being blocked (I have an affiliate program and I allow hotlinking). But I can't see if it's ASL until I am able to get in and review.

Does anyone have a useful list of ssh commands? I have some, compliments of Scott:

To scan the system, you can run:
asl -s

To fix, you'd run:
asl -s -f

And log files to watch are:
/var/log/httpd/audit_log

and
/var/ossec/logs/alerts/alerts.log

If anyone has anymore I would greatly appreciate it - thanks


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Oct 20, 2008 5:17 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7428
Location: earth
[root@www ~]# asl --help
Atomic Secured Linux
asl [-cfhprtu]

--blacklist <ip> Add <ip> to Blacklist
--config | -c Configure ASL settings
--check | -ck Show list of updates
--disable-rule <id> Disable modsec rule by signature ID
--domain-blacklist <domain> Add <domain> to spam blacklist
--enable-rule <id> Re-enable modsec rule by signature ID
--fix | -f Fix and Repair mode
--list | -l List modules
--module | -m <module> Run a specific module
--help | -h Help message
--malware-blacklist <domain> Add <domain> to malware blacklist
--nocolor | -nc Disable color
--permissions-check Check/Fix permissions on ASL dirs/files
--remove-blacklist <ip> Remove <ip> from Blacklist
--remove-domain-blacklist <domain>
Remove <domain> from spam Blacklist
--remove-malware-blacklist <domain>
Remove <domain> from malware Blacklist
--remove-whitelist <ip> Remove <ip> from Whitelist
--report-false-positive <path>Report false positive on <path>
--return |-r Prompt to continue
--scan | -s Scan mode
--show-alert <path> Read an alert using <path>
--update | -u Check for rule updates
--unblock <ip> | -ub <IP> Unblock <ip> from active-response system
--version | -v | -V Show version
--whitelist <ip> | -wl <IP> Add <ip> to Whitelist


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Nov 10, 2008 4:22 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Oct 29, 2007 6:51 pm
Posts: 606
Also all of the reports of blocked stuff goes into /var/asl/data/audit and is listed by date and time, you can easily grep things (such as domain name) out of those logs to see if you are getting blocked or you run accross a false positive, which you can then report by using the " --report-false-positive <path>Report false positive on <path> " asl switch


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 3 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group