Monday, June 25, 2018

Post Toorcamp packing analysis

Got back from Toorcamp yesterday. It was certainly interesting. This year I focused on making things (soldering for instance), so there was less opportunity to meet new people.

Here's a quick brain dump mostly for me on what was useful to pack and what was not. Once again, there was a cold night (Saturday) when the temperature dropped to 48 degrees F, and I wasn't quite ready for that.

Scarf: Made life much more bearable. Probably the single one thing that really made everything much better. I wore it all the time except sleep and about 11 to 4 PM.

REI shirts from my Europe and Italy trips: Great as before, no sweating.

All my Raspberry Pi Projects: Didn't even touch them. There's just too much to do and see at Toorcamp.

A gaggle of cables and 10/100 5-port switch: Unnecessary.

Rope: No trees, not useful for keeping animals away.

Scent-proof Ziploc bags: Much more useful, no animal issues (unlike the tent next door, used to store food, which was torn apart at odd hours of the night by a large racoon).

LUCI lights: Lux variety much better than the clear ones. Fantastic for ambient lighting on a table with a group of people, which was my situation. 

Solar-powered LED lights: Wonderful. I didn't realize till after receiving it that it was 66 feet long. This was enough to cover a 10x10 canopy all around plus extra, and it stayed on for hours. Several people commented on how nice it was.

Spare disposable batteries: Not necessary.

SDR and antenna: didn't get to use it, probably not necessary.

Poncho: Used once, maybe an umbrella would make more sense.

Sweater purchased in Prague: Very useful.

All the extension cords: Yes.

Reusable shopping bag: Definitely useful. Too bad I didn't get to drink all the cider I bought.

Instant Oatmeal, many tea bags, kosher beef jerky, instant potatoes, challah bread: Eh.... The challah bread went stale, the kitchen was too far away for tea, and the rest wasn't really necessary since I hitchhiked to the store on the island and picked up more than enough canned food.

On that note, curried lentil canned soup: Absolutely not a good idea in a camping situation. Contrary to traveling for work when occasionally limited food situations can arise, extra fiber isn't good when 500 other people need to use a limited number of restrooms on a continual basis (especially if a nearby campsite decides to have free bar evenings from 8 PM until "the lights are turned off").

Shabbos goy shirt: Limited value this time.

For next time:

Sunscreen: Although I'd packed it, I was afraid of running out, to no need. It would have been smart to bring maybe an extra tube, as everyone got burned the first day. For me, badly burned on my nose.

Piratebox: bigger capacity, enable upload functionality. I substituted with an AC750 travel router or portable external drive instead.

Car: Driving to camp will make life much easier, plus I can clean up if needed.


Wednesday, June 06, 2018

Blackhat Talks to look forward to

The schedule for Blackhat 18 talks has been released here: https://www.blackhat.com/us-18/briefings.html

Looking forward to the following:

A Dive in to Hyper-V Architecture & Vulnerabilities (Could be useful, VMs are everywhere)
AI & ML in Cyber Security - Why Algorithms are Dangerous
An Attacker Looks at Docker: Approaching Multi-Container Applications
Applied Self-Driving Car Security (the original car hackers strike back)
Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Automated Discovery of Deserialization Gadget Chains (making deserialization vulnerability exploitation easier? yes please)
Blockchain Autopsies - Analyzing Ethereum Smart Contract Deaths (I like sci-fi)
Breaking the IIoT: Hacking industrial Control Gateways
Catch me Yes we can! – Pwning Social Engineers using Natural Language Processing Techniques in Real-Time
Deep Neural Networks for Hackers: Methods Applications and Open Source Tools
Don't @ Me: Hunting Twitter Bots at Scale
Edge Side Include Injection: Abusing Caching Servers into SSRF and Transparent Session Hijacking
Exposing the Bait: A Qualitative Look at the Impact of Autonomous Peer Communication to Enhance Organizational Phishing Detection
For the Love of Money: Finding and Exploiting Vulnerabilities in Mobile Point of Sales Systems
From Bot to Robot: How Abilities and Law Change with Physicality
From Workstation to Domain Admin: Why Secure Administration isn't Secure and How to Fix it
Identity Theft: Attacks on SSO Systems
Is the Mafia Taking Over Cybercrime? (tie into the recently-released Web of Profit study)
Last Call for SATCOM Security (see this article for a preview)
Meltdown: Basics Details Consequences
Open Sesame: Picking Locks with Cortana
Outsmarting the Smart City
Over-the-Air: How we Remotely Compromised the Gateway BCM and Autopilot ECUs of Tesla Cars
Practical Web Cache Poisoning: Redefining 'Unexploitable' (from Burp Suite extraordinaire himself)
Screaming Channels: Extracting Bluetooth and WiFi Keys from Radio Noise
SirenJack: Cracking a 'Secure' Emergency Warning Siren System
So I became a Domain Controller (from authors of mimikatz)
The Air-Gap Jumpers
The Science of Hiring and Retaining Female Cybersecurity Engineers
The Unbearable Lightness of BMC's
The Windows Notification Facility: Peeling the Onion of the Most Undocumented Kernel Attack Surface Yet
TRITON: How it Disrupted Safety Systems and Changed the Threat Landscape of Industrial Control Systems Forever (I read the PDF but having it explained would be great)

 

Tuesday, May 22, 2018

Parsing .Nessus files - Part 3-ish

Today I'm finally getting around to re-packaging Melcara's script to include the latest version released in September 2017. I'll also need to make the new changes to the perl script (which I foolishly did not save from prior changes).

So:

cpan install XML:TreePP Data::Dumper Math::Round Excel::Writer::XLSX Excel::Writer::XLSX::Chart Data::Table Getopt::Std Net::IP pp

Perl file changes (changed here, can be used to generate report in linux assuming you have all the right libraries):

1. Include "use Net::IP;" at top.
2. Re-order sections to write excel sheets at bottom to "Summary", Criticals, Highs, Mediums, Lows, Informational, Vulnerability to IP Summary.
3. Add block to sort IPs in that last sheet before writing them out.

Install Strawberry Perl Portable in Windows, then through trial-and-error install the modules needed to get pp to work. Pray that something works. But it never did and I gave up after six hours of frustration.

pp -M JSON -M PAR::Dist -M URI::Escape -M LWP::UserAgent -M HTTP::Cookies -M Data::Dump -M Data::Dumper -M XML::Hash::XS -M XML::TreePP -M MIME::Base64 -M Math::Round -M Excel::Writer::XLSX  -M Excel::Writer::XLSX::Chart -M Excel::Writer::XLSX::Chart::Pie -M Data::Table -M Getopt::Std Net::IP parse_nessus_xml.v24.pl

Note: some of these libraries may not be needed anymore but it worked last time and extra bits don't hurt in this case.

Dpkg::Options note

When installing linux upgrades check this page for references on how to let apt upgrade do its own thing with new/old/updated configuration files:

https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/

Sunday, May 06, 2018

Quick review of Alfa AWUS036AC (or AC1200?)

Some time in March I read this article which has a great run-down on the state of 5 ghz packet injection in Kali Linux and the most capable wireless cards. I got all excited and attempting ed to order the AC1200 without carefully examining the provider. Instead I got the device pictured on Amazon but it says AWUS036AC on the back.

Oh well. Driver support out of the box is flaky and airmon-ng doesn't play well with it even with the proper drivers installed.

 apt install dkms realtek-rtl88xxau-dkms  


Then, to put the card into monitor mode, perform the following set of commands each time:

 ip link set wlan1 down  
 iw dev wlan1 set type monitor  
 ip link set wlan1 up  

To take it out of monitor mode (very important) before unplugging:

 ip link set wlan1 down  
 iw dev wlan1 set type managed  
 ip link set wlan1 up  

So those are the cons.

Pros: Great reception of nearby access points. Where before I could barely manage 56 for the closest APs, now it shows as mid-30s. This makes capturing handshakes potentially much easier. As it is, most likely that's what I'll use this device for.