April 24, 2012: 6:00 pm: OSINT

This past week Rob Fuller (@Mubix) turned on public search for his awesome Deep Magic DNS project.

This is a great project where he is collecting DNS records for as much as the Internet as he can manage with some really creative methods. Currently he has turned on PTR record searching.  So let’s say you are doing a pen test or joining a new organization. You need to gather what information is available for the domain you are being employees to help. Just put the domain in quotes up in the search field and you will get back the resulting records. The search results are limited to 1,000 records by default but can be increased to up to 10,000.  Small personal domains may not show up. It is giving great results for larger more established domains for organizations.

Just dump as many of the records you can. Drop it in a text file and grep with fun words like ldap, dc, mail, ftp etc can speed up your learning curve.

TwitterFacebookGoogle BookmarksLinkedInInstapaperGoogle ReaderPosterousStumbleUponShare
April 22, 2012: 6:49 pm: Cisco Security, Windows Security

Reference:
http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.0/user/guide/c.html#wp697557

Scenario:
Let’s say you have Cisco ACS up and running. It is already successfully talking to your Active Directory installation. You also already have an existing VPN Client remote configuration where the group policy name is “GP_VPN_ITNET” and the tunnel group name is “TG_VPN_ITNET”

Now you have an active directory group called “RG_VPN_ITNET” and want to ensure that the only vpn remote access profile that group can use is the existing remote configuration.

(more…)

TwitterFacebookGoogle BookmarksLinkedInInstapaperGoogle ReaderPosterousStumbleUponShare
December 17, 2011: 12:48 am: General, Privacy

I like to remind folks when moving their Apple laptop to public wifi that they need to remember to turn off the iLife application sharing such as iTunes and iPhoto. Then turn on their firewall.

So here is an AppleScript that will do just that. It is written and tested on OSX Lion with iLife 11. So you may have to play with it for your version if that is not what you are running.  Keep in mind it is a toggle script.  It will reverse the settings of iPhoto, iTunes sharing and the firewall. So it is assumed you share both with the firewall off when at home.

Also you need to ensure Enable access for assistive devices is checked under Universal Access in System Preference.

Just cut and paste the below script into the AppleScript editor.  Then save either as an application on your desktop you can double click. Or save as an AppleScript where an application like LaunchBar can use it as an action. ~/Library/Application Support/LaunchBar/Actions

(more…)

TwitterFacebookGoogle BookmarksLinkedInInstapaperGoogle ReaderPosterousStumbleUponShare
September 14, 2011: 8:46 pm: Presentation

Here are my slides and the tutorial I made for Rolling your own logging vm. Between the slides and the tutorial you can find all the links I referenced.

The VM tutorial uses Ubuntu Linux, syslog-ng and Splunk.  I go over how to use syslog-ng with fifo queues to handle multiple sources and even rewrite forwarded syslog events coming from Kiwisyslog before indexing in Splunk.  The tutorial zip has both pdf and epub formats in it.

*update* I was asked some questions today during my presentation on MS Log Parser.  I added my post on it below to the link list.  Also for those downloading my actual logging vm from the link I gave those whom attended my talk.  The url does redirect to dropbox so do not be surprised.

*second update* a question came up today on a forensics mailing list to search some evtx event log files.  I suggested using MS Log Parser to replay output to syslog.  The target being spunk say like in my logging vm tutorial.  Then the logs are easily searchable.

 

TwitterFacebookGoogle BookmarksLinkedInInstapaperGoogle ReaderPosterousStumbleUponShare
September 10, 2011: 4:03 pm: General

I have been playing around making a Jarvis like home notifaction script.  One piece of that for fun is to read me the current Brandon Sanderson book project status report.  I made the below applescript to parse the information off his Web site and read it aloud to me. After all men don’t read (a Stormlight Archive reference so go get the book). I am a huge fan of his Mistborn and Stormlight Archive series.  Oh yeah… He is also finishing the Wheel of Time too. ;-)

Warning that the below script could break at any time.  It has to parse out bits of html code.  Who knows how much that changes each time updates his status.  I won’t know till the next update.  You can see those bits in the AppleScript’s text item delimeters lines in the script.

 

on run {}

 

try

set theSource to (do shell script “curl ” & quoted form of (“http://www.brandonsanderson.com/”))

set AppleScript‘s text item delimiters to {“<h3>Current Projects</h3>”}

set theText to text item 2 of theSource

set AppleScript‘s text item delimiters to {“<h3>Search</h3>”}

set theText to text item 1 of theText

set AppleScript‘s text item delimiters to {“<div style=\”float:left;  width:100%;\”>”}

set tempProject1 to text item 2 of theText

set tempProject2 to text item 3 of theText

set tempProject3 to text item 4 of theText

set AppleScript‘s text item delimiters to {“<br/> <div style=\”width:33.99px; overflow:hidden; float:left; \”><img src=\”/templates/slate/images/bookmeter1.png\” /></div><div style=\”float:left; padding-left:5px;\”> “}

set projectProgress1 to text item 1 of tempProject1 & text item 2 of tempProject1

 

set AppleScript‘s text item delimiters to {” <br/> <div style=\”width:103px; overflow:hidden; float:left; \”><img src=\”/templates/slate/images/bookmeter2.png\” /></div><div style=\”float:left; padding-left:5px;\”> “}

set projectProgress2 to text item 1 of tempProject2 & text item 2 of tempProject2

 

set AppleScript‘s text item delimiters to {” <br/> <div style=\”width:57.68px; overflow:hidden; float:left; \”><img src=\”/templates/slate/images/bookmeter3.png\” /></div><div style=\”float:left; padding-left:5px;\”> “}

set projectProgress3 to text item 1 of tempProject3 & text item 2 of tempProject3

 

set AppleScript‘s text item delimiters to {“</div>”}

set projectProgress1 to text item 1 of projectProgress1

set projectProgress2 to text item 1 of projectProgress2

set projectProgress3 to text item 1 of projectProgress3

 

set AppleScript‘s text item delimiters to {“”}

 

say “Brandon Sanderson Project Status Report”

sayprojectProgress1

sayprojectProgress2

sayprojectProgress3

 

on error

say “Unable to obtain Brandon Sanderson project status information.”

return

 

end try

 

end run

 

Posted via email from georgestarcher.randomlings

TwitterFacebookGoogle BookmarksLinkedInInstapaperGoogle ReaderPosterousStumbleUponShare

Next Page »