Friday, May 15, 2015

Hack3rCon has retired. But, don't be sad. The 304Geeks have a new conference to share!

Hack3rcon is no more...

Don't be sad. Although the name Hack3rcon will be no more, the spirit of the conference will live on through SecureWV. The 304Geeks latest conference creation.

Hack3rcon started after a group a local hacker types decided to try and bring much needed awareness to the folks that live and protect right here in WV. I put together a series of Hack3rcon alien videos for fun that went a little viral on the security socialwebz. Do in part to Vivek Ramachandran (now of SecurityTube.net) picking them up with his early version of the SecurityTube engine and then sharing and blogging about our efforts. That and our all star speaker lineup that year... Check out that lineup:


Hack3rcon was a fun project and we made many new friends along the way. Friends that returned each year for more of what Hack3rcon had to offer.

Will Hack3rcon ever return? It's possible. So, stay tuned.

The 304Geeks are evolving. New leadership, new blood, new ideas and now a new security conference. The new leadership has some fun and ambitious ideas for creating a new conference that will cater to both the same community that made Hack3rcon possible and our own infrastructure and resources right here in WV.

Check out SecureWV.com CPF is open!

Hope to see you there!

304Geek

Wednesday, November 6, 2013

Create your own Raspberry Pi HackStation

Recently, I became curious about the Raspberry Pi and what it could be used for. For those of you that don't know what a Raspberry Pi is, here is a short explanation.

The raspberry pi is a credit-card sized single-board micro computer. The model-B raspberry pi features an ARM1176JZF-S 700 MHz processor that can be over-clocked to 1 GHz. It also has a VideoCore IV GPU and has 512 MB of on-board non-upgradeable RAM. There is no hard disk, but instead uses an SD Card for booting and storage.
Ports on the device include:
  • RCA Video
  • Audio
  • 2 USB ports
  • an Ethernet port
  • SD Card slot
  • Micro USB Power Adapter
  • an HDMI port. 
This device is a fully functional PC when used as such.  Given the specifications of the device, I thought it was a cool idea to build a cheap laptop using this technology. I found various resources around the Internet that helped me along the way. So, in my research I found a video from Hak5 (http://hak5.org/episodes/hak5-1505) talking about using a Raspberry Pi to run Kali Linux. The thought of being able to build a fully functional penetration testing laptop for a relatively cheap price was very intriguing and I set out to see if it could work.

As it turns out, the good people at Offensive Security ported an ARM image of Kali Linux optimized for the Raspberry Pi. So I put this idea into action and built a small laptop using a raspberry pi and installing Kali on it. It runs surprisingly well. Not all utilities run well, but for the most part it is a nice little project. If you want to hear more about this project, ask any questions, or see the laptop in action please come out to the 304Geeks Monthly Meeting at 6:00pm on Wednesday, November 13, 2013.

Monday, January 14, 2013

[UPDATED] DNS Scraping for Corporate AV Detection - "Admins, stop sharing your cache with everyone!"

NEW TOOL: Scrape-DNS

**Since this was first posted the technique has been implemented into Metasploit (which means it's on Kali Linux), Recon-ng and ArchAssault Project.

Back at my old job, we used cache snooping techniques (Scraping) to check for evidence of client systems that were attempting to resolve known malware sites.

We would use the list at Mayhemiclabs.com and compare it to our cached DNS entries.

So, why don't we do something badass like that, but to support the penetration test or red team mission?

Using standard cache snooping techniques you can determine what anti-virus vendors might be in use on a clients network.

HOW? Simple. By making non-recursive queries to the client's DNS servers for known AV update site domains.

Yes, it is that simple.

To query cached DNS entries, you need only to make a NON-recursive request a target DNS server.  

Dig seems to yield the most reliable results.

First we need to create a list of sites to check for. 

Let's put the list of sites in updates.list:



As you can see, I have added “www.” to each entry as a modified duplicate. 

You can simply run the following command:

dig @129.71.1.1 -f updates.list +norecurse | grep -A 2 "ANSWER SECTION" | sort -u | sed '/^$/d'| sed 's/^/[+] Success - /g'






Lookie there. Symantec, Sophos, Forefront, etc. Jackpot!

Looks ghetto, but it works and you can get a decent screenshot for your report.

VERY IMPORTANT! If you forget to use the +norecurse option, you will have just poisoned the DNS cache with your list of sites. You will now have to wait for the entries to expire before proceeding.

So, after learning this lesson and playing with various and hilarious website lists, I opted to just write a simple script. One that has pre-populated site lists and won’t let me forget the +norecurse option :D

I call it Scrape-DNS.

This script leverages Dig to perform non-recursive lookups against vulnerable DNS servers in order to determine if certain domains are stored in the DNS server’s cache. 

Usage:


Check DNS servers for interesting cached entries

Examples:

./scrape.sh -t 8.8.8.8 -a
./scrape.sh -t 8.8.8.8 -o
./scrape.sh -t 8.8.8.8 -u
./scrape.sh -t 8.8.8.8 -i custom_sites.list

OPTIONS:
   -h     Show this message
   -a     All Mode 
   -i      Import Mode 
   -u     Common AV Mode
   -o     Obscene Mode
   -t   Target DNS Server

Some results are funnier than others.

Using Free Porn Mode, er.. Obscene Mode :


So, next time you need to demonstrate this vulnerability (DNS Cache Snooping Enabled) or need / want to perform recon before crafting your payloads, you can try this technique with Dig, or you can Scrape-DNS.

Alternate mehod: If non-recurse is not available, we can try the ‘timing method’.

The idea here is, if I request a domain 5 times; the first time the response takes 130ms, the second 51ms, the third 50ms, then 53ms, 52ms. We can infer that the requested domain was NOT in the server’s cache the first time we requested it. But, obviously it would be the second, third, etc. Assuming this test was conducted before the entry expired. 

Here is what that might look like;


Let’s check for update.symantec.com: dig @dns-server-ip update.symantec.com | grep -A 5 "Query time:"

Looks like update.symantec.com IS in the server’s cache. They might have Symantec Av running in the environment?

Let’s try Avast: dig @dns-server-ip download797.avast.com | grep -A 5 "Query time:"




And it looks like download797.avast.com was NOT in the servers cache when we first checked. They MAY not be running Avast.

You can also run continuous checks to interrogate the DNS server. I won’t get into it here, but I just used a for loop and SLEEP(s) to pull that off.
Scrape-DNS v2 with include the option for continuous collection. Assuming anyone cares enough to use v1 and gives any feedback :)

[UPDATED]

I found a cool blog entry "Poor man's bar graphs in bash" by Ger-Jan. He wrote a cool portable bash loop that will build out bar graphs in bash. 

So, I quickly incorporated it into the scraping routine, so that I can visually compare the DNS response times in an effort to make better judgement when using the timing method to find cached DNS entries.

Here is s a screenshot:



Looks like Sophos is NOT is use on this network. OR, they never update o.O !!


I will add this feature to Scrape-DNS in the next version or so. 

Enjoy,

@304geek

Sunday, October 7, 2012

Hack3rCon^3 - Doomsday Eve


What?

Hack3rCon^3
Doomsday Eve

When?

October 19-21, 2012

Where?

Charleston, WV
Doomsday preppers and cyber security enthusiasts will come together in Charleston, WV on Oct 19-21 for Hack3rCon^3. 

304Geeks want to welcome you to another year of mayhem in the hills. Hack3rCon^3 will present a mix of cyber security and doomsday preparation tactics. 

Presentations:

20 Speakers and Instructors

Free workshops:

Network Monitoring and Analysis
Bash 101 for Pentesters
Key Impressioning
Intro to Exploit Development

Contests:

Capture the Flag - Presented by Nova Hackers 
Key Impressioning - Presented by Digital Trust LLC

Doomsday Tactics:

Doomsday preparation:
What should I be stocking?
How should I stock it?
Where should I stock it?

Doomsday aftermath:
How will you communicate?
What will be standard currency? Water? Gas? Beer? Skills?
Where will you live?
How will you protect yourselves?


A lot of questions, right?

Maybe you will find the answers..

See you there,

304Geeks

Saturday, October 6, 2012

Hack3rcon CTF


Description:
Hack3rcon CTF will be brought to you this year by the XRG, a
relentless group of bloodthirsty savages from outer space. From deep
within their hive they have hatched multiple challenges to include
web, traffic analysis, reversing, and more.  Rigorous fun on all
levels from the newbist larva to the leetist overmind.


CTF Rules:
1. All flag submissions have to be received by 10 am Sunday in order
to be accepted.
2. Do not attack other participants.  Only attack computers which are
hosted at IP addresses we have specifically given you on the CTF
network. If you are in doubt, ask a CTF staff member.
3. Do not launch “denial of service” attacks against the CTF network
or systems. Please promptly report any system outages you notice.
4. Do not delete contest flags from systems
5. Event organizers will not be held responsible for any damages that
occur to your systems as a result of connecting to the CTF network;
remember that this is a hostile network.  Connect to it at your own
risk.
6. Double check the access point or switch you have connected to prior
to engaging in any attacks - ensure you are on the CTF network.
7. Teams are welcome.

See http://hack3rcon32012.sched.org/ for more information.

Tuesday, May 29, 2012

Larry Pesce will rock the keynote at Hack3rcon^3

We are thrilled to announce our keynote speaker for Hack3rcon^3, Larry Pesce.


Larry is a Security Evangelist and co-host for the PaulDotCom Security
Weekly podcast (www.pauldotcom.com). In the last 15 years in the
computer industry he has become a jack of many trades, including, of
course, computer security. Larry is also gainfully employed as a
Penetration Tester / Ethical Hacker with NWN Corporation's NProtect team
(nwnit.com). Larry's interests include geo-location, metadata, recon and
long walks on the beach.

Larry is also a prepper. He's always been prepared for the worse, but in
recent years Larry has come to believe that, contrary to popular
indicators, technology can improve and enrich our lives in a
post-apocalyptic, grid down scenario.  Larry documents his endeavors
into preserving helpful technology, reducing his requirements on
disaster relief and hacker mentality to self sufficiency and home
protection at his blog, SurvivalNerds (survivalnerds.com).

Larry’s other writing, guides and rants can be found on his blog at www.haxorthematrix.com and the SANS Reading Room.

Co-author Of

Tuesday, May 1, 2012

Mayday, Mayday, Mayday

Call For Papers | Sponsors

Call for Papers

Call for Sponsors

2012
Hack3rCon^3
Doomsday Eve

Doomsday preppers and cyber security enthusiasts will come together on Oct 19-21st, 2012, in Charleston, WV for Hack3rCon^3.

304Geeks want to welcome you to another year of mayhem in the hills. Hack3rCon^3 will present a mix of cyber security and doomsday preparation tactics.

Doomsday preparation:
What should I be stocking?
How should I stock it?
Where should I stock it?

Doomsday aftermath:
How will you communicate?
What will be standard currency? Water? Gas? Beer? Skills?
Where will you live?
How will you protect yourselves?


A lot of questions, right?

So, attendees, send us your ideas for topics.

Presenters, send us yours.

Sponsors and vendors, inquire for details.

How?

By submitting your requests and submissions to submissions (hack3rcon@hack3rcon.org)



See you there,

304Geeks

Friday, March 9, 2012

304Geeks Informaton Security Program For High School and Middle School Students and Parents Online

Video from my recent Nicholas County Cyber Security presentation has been released online: http://www.summersvilletv.com/index.php?option=com_content&view=article&id=1116&catid=88888895&Itemid=88888905

If your civic group would like a similar online safety talk please contact me at bill(dot)gardner(at)gmail(dot)com.

Thursday, February 16, 2012

Location Based Alerting Systems - WTF?

 Ok, I guess it makes sense.. If there is some sort of emergency in your area (based on location services on your phone) a text alert can be sent to you. This message is in the form of a pop up.

I got one today. It simply read, "CMAS Alert" with an option to click a "Dismiss" button. That's it.

A little research and I found out that this message:
"CMAS Alert" followed by "Civil Emergency in this area until 1:24 PM EST Take Shelter Now U.S. Govern."

WTF?? Take shelter now?!? I think that I would rather have an SMS with MORE detail or link to a site with more information. People were unsettled to say the least when they received that message.

Here is a pic (from nj.com):



Look here for reference: MORE



Monday, February 13, 2012

UPDATE: Hackers for Charity Cookbook

So, let us revisit the HFC cookbook idea..

Recently, a lot of people have asked what the status of the cookbook is.

Well, (embarrassingly so) we only received 15 submissions.. I know, right?

So, Hackers for Charity Cookbook: ROUND 3

****Send your submissions to cookfu@304geeks.com

Criteria:

Name or handle:

Bio: (Optional, for directory)

Picture: (Optional, but desirable)

Origin: Story(interesting background?):

Recipe: *** Low effort, low clean up, low, low, low...

--Picture this: What is that cool thing that you like to make when you are just focused in on your work? It is easy, fast and low mess, no?

Example submission:

----------


Chicory(Germany)
Kamera Zukleber

1. Wash two chicories, cut the ends and cut out the stem
2. wrap chirories in ham
3. cover with cheese (I use Leerdamer)
4. put it in the microwave for approx. five minutes at 600 W (just so that the cheese melts nicely)
5. take the plate out of the microwave and grind some fresh nutmeg over it
6. enjoy

PS: goes very nicely together with some baked potato, curd cheese and fresh chives


------------

So, there you have it! Submit, submit, submit!

Regards,

Rob

Wednesday, December 14, 2011

Neat visualization search engine thingy.. Check it out..

I was researching new OSINT resources, when I came across SiloBreaker.com. This site has a nice web app with a really cool visualization and analysis thingy. Check it out, it rocks!

I will share more of my findings very soon.

Bill, you look important ;-)

Here is a search result for Hack3rCon:


www.silobreaker.com


Go and check it out for yourself

Here is another cool widget:

Monday, October 17, 2011

New Platinum Sponsor: DerbyCon

The 304Geeks would like to welcome DerbyCon as a Hack3rCon Platinum Sponsor: derbycon.com

Wednesday, October 12, 2011

Hack3rCon II Hotel Information And Conference Rate

Conference rate is $84.00 a night. Call the hotel directly at 304-344-4092 and use the discount code hackercon.

Monday, October 3, 2011

The Penetration Testing Execution Standard

The Penetration Testing Execution Standard (PTES) is now available as a Pre-Alpha release and is located at http://www.pentest-standard.org/index.php/Main_Page. According to their wiki page ( http://www.pentest-standard.org/index.php/FAQ ) , the Penetration Testing Execution Standard (PTES) “is a new standard designed to provide both businesses and security service providers with a common language and scope for performing penetration testing (i.e. Security evaluations)”.

The group putting together the PTES includes several Info Sec professionals who are trying to create a standard so security professionals will have a baseline of what is required for a pentest. They also hope to help with the understanding of what type of testing others may need for their business or client.

Since this is still Pre Alpha Release, there is still a lot to be accomplished, though and folks are invited to e-mail one of the group members listed on the FAQ page ( http://www.pentest-standard.org/index.php/FAQ ).

One of the items I found most interesting was the PTES Technical Guidelines page, which listed several security applications and frameworks. This page also gives brief guidelines on how to use these applications and frameworks. It opened my eyes to several new security applications I didn’t know existed.

For more information, visit the PTES wiki site.

Thursday, September 22, 2011

Opinion: The Age of Artisanal Engineering

Andrew Huang posts an interesting essay on some potential (and exciting) ramifications of the deceleration of Moore's Law and the future shift towards incremental innovation over wholesale moves to entirely new hardware generations.

Thursday, September 15, 2011

Hack3rCon II Presentation: Lurking in the Shadows

Tim Tomes and Mark Baggett

Synopsis:

"Lurking in the Shadows"

In the past, hackers and pen testers have used various techniques to hide the presence of tools and information on compromised systems. Techniques such as alternate data streams in Windows, and directories with common names in Linux, have been basic implementations of such techniques. The addition of Shadow Copies to modern Windows operating systems provides us with yet another opportunity to conceal information on remote systems. This talk will discuss the history of concealing data within operating systems and new techniques and tools for doing so in modern Windows implementations.

Bios:

Tim Tomes (LaNMaSteR53) is a Senior Enterprise Security Consultant for Accuvant Labs and security blogger for http://pauldotcom.com who specializes in penetration testing, web application assessments, and Python tool development. A former officer in the U.S. Army and 10 year veteran, Tim spent 3 years as the Senior Red Team Leader for the Army Red Team and was the principle designer of the Army's 1st CyberTraining program.

Twitter: @LaNMaSteR53

Mark Baggett (Mark Baggett) is the Technical Advisor to the DoD for the SANS Institute, an instructor for SANS, and a security blogger forhttp://pauldotcom.com. Mark is the owner and operator of In Depth Defense Inc, a private consulting firm that specializes in penetration testing and incident response.

Twitter: @MarkBaggett

Wednesday, September 14, 2011

Book Review: Metasploit The Penetration Tester's Guide

SlashDot has posted a review of Hack3rcon II Speaker and all around Good Guy Dave Kennedy's new book Metasploit The Penetration Tester's Guide.

Check out the Review Here

Buy the book from Amazon Here


Sunday, September 4, 2011

Network King of the Hill (NetKotH) Challenge Returns To Hack3rCon

Network King of the Hill (NetKotH) will be returning to Hack3rCon this year. The rules are the same as last years challenge:

***BRING YOUR OWN LAPTOP!
w/dvdrom (unless you already have Backtrack 4 installed on your
computer OR OS of your choice.)
***Depending on how many participants we have, you may need to provide
a cat5 cable. Wireless will be available but not recommended ;-)

Scoring:

1. The teams will be given IPs to web servers with vulnerabilities to
attack, their goal is to deface the front page on each. Expect there to be a
Linux and a Windows box, and maybe some surprises. J The IPs for this
game are:

10.0.0.1 Linux
10.0.0.2 Windows
10.0.0.3 Wildcard

Versions will be switching during the game.

2. Teams try to put up their own defacement, take down other people's
defacement, and lock down the box to keep others teams out. The teams name
must be in the tag when they deface the site for the scoring
system to register it, but they can change the page however they like.

3. Once per minute (more or less) the scoring software will see who
currently owns the site, and score it.

4. Referees will work as a blue team to occasionally step in and change
things on the target IPs. Fix the defacement, patch, roll back changes,
switch Operating Systems, etc, just to even the playing field and make
things interesting.

Rules:

1. Only penetrate the hosts at the given IPs, not the scoring box
(10.0.0.99) or other contestant's boxes.

2. DoS and network routing/traffic attacks are allowed, even on the
traffic coming to and from contestants and the scoring box.

3. Stay on the NetKotH network while attacking.

4. Martin and Adrian may change other rules at will.

Prize: TBA