Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Keynote The Grugq

Download as pdf or txt
Download as pdf or txt
You are on page 1of 111

OPSEC for hackers:

because jail is for


wuftpd
the.grugq@gmail.com

Monday, November 19, 12


Overview
Intro to OPSEC
Methodology
lulzsec: lessons learned
Techniques
Technology
Conclusion
Monday, November 19, 12
Avon:You only got to fuck up once Be a little
slow, be a little late, just once. How you
aint gonna never be slow? Never be late?
You cant plan for that. Thats life.

Monday, November 19, 12


Intro
to
OPSEC

Monday, November 19, 12


WTF is it?

Monday, November 19, 12


OPSEC in a nutshell

Keep your mouth shut


Guard secrets
Need to know
Never let anyone get into position to
blackmail you

Monday, November 19, 12


STFU

Monday, November 19, 12


Monday, November 19, 12
Monday, November 19, 12
Monday, November 19, 12
Methodology

Monday, November 19, 12


put the plumbing in first
create a cover (new persona)
work on the legend (history, background,
supporting evidence for the persona)
Create sub-aliases
NEVER CONTAMINATE
Monday, November 19, 12
FREEDOM
The 10 Hack
FIGHTING
Commandments

Monday, November 19, 12


Rule 1: Never reveal your operational
details

Rule 2: Never reveal your plans


Rule 3: Never trust anyone
Rule 4: Never confuse recreation and
hacking FIGHTING
FREEDOM

Rule 5: Never operate from your own


house

Monday, November 19, 12


Rule 6: Be proactively paranoid, it doesnt work
retroactively
FREEDOM
Rule 7: Keep personal life and hacking
FIGHTING
separated

Rule 8: Keep your personal environment


contraband free

Rule 9: Dont attract attention


Rule 10: Don't give anyone power over you
Monday, November 19, 12
Why do you need
OPSEC?

Monday, November 19, 12


ProTip: Cover the webcam on your laptop.

Monday, November 19, 12


It hurts to get fucked

Monday, November 19, 12


No one is going to go
to jail for you.

Monday, November 19, 12


Monday, November 19, 12
Your friends will betray
you.

Monday, November 19, 12


#lulzsec:
lessons learned
Monday, November 19, 12
Monday, November 19, 12
Violation
Never trust anyone

Monday, November 19, 12


ProTip: Dont use your personal Facebook account
to send defacement code to your friends
FREEDOM FIGHTERS

Monday, November 19, 12


ProTip: Dont use your real first name as your
username
Monday, November 19, 12
Violation
Dont contaminate

Monday, November 19, 12


Monday, November 19, 12
Violation
Dont contaminate

Monday, November 19, 12


Monday, November 19, 12
Violation
Keep personal life and
FREEDOM
hacking
FIGHTING separate

Monday, November 19, 12


ProTip: Dont connect to your target directly from your
home IP address

Monday, November 19, 12


Violation
Never operate from
your home

Monday, November 19, 12


Monday, November 19, 12
Violation
Never operate from
your home

Monday, November 19, 12


Monday, November 19, 12
Violation
Dont reveal
operational details

Monday, November 19, 12


Monday, November 19, 12
Monday, November 19, 12
Monday, November 19, 12
Violation
Dont reveal
operational details

Monday, November 19, 12


Monday, November 19, 12
Monday, November 19, 12
Violation
Be paranoid

Monday, November 19, 12


Virus (10:30:18 PM): don't start accusing me of
[being an informant] - especially after you
disappeared and came back offering to pay me for
shit - that's fed tactics
Virus (10:30:31 PM): and then your buddy, topiary,
who lives in the most random place
Virus (10:30:36 PM): who's docs weren't even public
Virus (10:30:38 PM): gets owned
Sabu (10:32:29 PM): offering to pay you for shit?
Virus (10:32:55 PM): yeah, you offered me money for
"dox"
Virus (10:33:39 PM): only informants offer up cash
for shit -- you gave yourself up with that one

Monday, November 19, 12


HAPPY ENDING
Virus is still free

Monday, November 19, 12


Monday, November 19, 12
Violation
Never contaminate

Monday, November 19, 12


Monday, November 19, 12
Bonus: w0rmer
Monday, November 19, 12
Monday, November 19, 12
Monday, November 19, 12
Monday, November 19, 12
Techniques

Monday, November 19, 12


Plumbing

Monday, November 19, 12


It is boring.

Monday, November 19, 12


Youll know it worked if
nothing happens.

Monday, November 19, 12


Put it in place first.

Monday, November 19, 12


Paranoia doesnt work
retroactively

Monday, November 19, 12


Personas
Monday, November 19, 12
Spiros: He knows my name, but my name is
not my name. And you... to them you're
only "The Greek."
The Greek: And, of course, I'm not even Greek.

Monday, November 19, 12


Problem:
You are you.

Monday, November 19, 12


Monday, November 19, 12
Solution:
Be someone else.

Monday, November 19, 12


Monday, November 19, 12
Personas

Danger to personas is contamination


Contact between personas (covers)
contaminates both
Keep cover identities isolated from each
other

Monday, November 19, 12


Layered defense

Monday, November 19, 12


Fail safe technological solution
TOR all the things!
Back stop persona
Primary cover alias as first identity
Secondary cover aliases (eg. handles)

Monday, November 19, 12


Profiling data

Monday, November 19, 12


Pitfalls

Location revealing information


Weather
Time
Political events
Profiling data

Monday, November 19, 12


Practice

Amateurs practice until they get


it right
Professionals practice until they
cant get it wrong

Monday, November 19, 12


Stringer: What you doing?
Shamrock: Robert's Rules says we got to
have minutes of the meeting.
These the minutes.
Stringer: Nigga, is you taking notes on a
criminal fucking conspiracy?

Monday, November 19, 12


No logs. No crime.

Monday, November 19, 12


Staying Anonymous
Monday, November 19, 12
Personal info is profiling
info

Monday, November 19, 12


Anti-Profiling
Guidelines

Do not include personal information in


your nick and screen name.
Do not discuss personal information in the
chat, where you are from...

Monday, November 19, 12


Anti-Profiling
Guidelines
Do not mention identifying details, e.g. your
gender, tattoos, piercings or physical
capacities
Do not mention your profession, hobbies,
involvement in political/activist groups

Monday, November 19, 12


Anti-Location Profiling
Guidelines
Do not use special characters on your
keyboard unique to your language
Do not keep regular hours / habits (this can
reveal your timezone, geographic locale)
Do not discuss the environment, e.g.
weather, political activities, etc
Dont talk about the weather!
Monday, November 19, 12
Anti Contamination
Guidelines

Do not use Twitter and Facebook


Never post links to Facebook images.
Do not post informations to the regular
internet while you are anonymous in IRC.

Monday, November 19, 12


Monday, November 19, 12
Hackers are no longer
FREEDOM
FIGHTERS
the apex predator

Monday, November 19, 12


That position has been
ceded to LEO *

*Law Enforcement Officials

Monday, November 19, 12


Technology

Monday, November 19, 12


Operations Platform
Console for accessing your staging box
Staging Platform / Launch Pad
Box with attack tools
Bounces
Reach your target objectives without
leaving a trail

Monday, November 19, 12


Operations Platform

Monday, November 19, 12


Essentially a modern VT100
Provides access to operational resources
Non incriminating, ideally dual use, device
RaspberryPi, AllWinner miniPC, etc.

Monday, November 19, 12


+

+ =
Monday, November 19, 12
Operations Box

Monday, November 19, 12


Staging Platform

Monday, November 19, 12


Jump box
The first stop from the operations
platform

Not used directly for attacks, this is


$HOME

Storage for logs, data and tools

Monday, November 19, 12


Launch Pad

Monday, November 19, 12


Used for launching attacks
Disposable
Maybe in China?

Monday, November 19, 12


$HOME lp

>_

Monday, November 19, 12


Bounces

Monday, November 19, 12


VPNs vs. TOR

VPNs provide privacy


TOR provides anonymity
Confuse the two at your peril

Monday, November 19, 12


TOR connection to a VPN => OK
VPN connection to TOR => GOTO JAIL

Monday, November 19, 12


On VPNs
Only safe currency is Bitcoins
Because they come from nothing
Purchase only over TOR
http://torrentfreak.com/which-vpn-
providers-really-take-anonymity-
seriously-111007/

Monday, November 19, 12


On Bitcoins

Bitcoins are anonymous, not private


They can be traced
Unique, uncontaminated, wallet per cover
Use mixers to sanitize BTC

Monday, November 19, 12


Monday, November 19, 12
Fail closed

Monday, November 19, 12


PORTAL
Personal Onion Router To Assure Liberty

Monday, November 19, 12


Monday, November 19, 12
PORTAL
Router ensuring all traffic is transparently
sent over TOR
Reduce the ability to make mistakes
Use mobile uplink
Mobility (go to a coffee shop)
Reduce risk of wifi monitoring
Monday, November 19, 12
PORTAL

Uses tricks to get additional storage space


on /

Monday, November 19, 12


Hardware

TP-LINK AR71xx personal routers


MR-11U
MR-3040
MR-3020
WR-703N

Monday, November 19, 12


MR-3040 & MR-11U

Battery powered
Approx. 4-5 hrs per charge
USB for 3G modem

Monday, November 19, 12


http://grugq.github.com/
portal

Monday, November 19, 12


Conclusion

Monday, November 19, 12


STFU

Monday, November 19, 12


Monday, November 19, 12
If you hack, dont speak
If you speak, dont write
If you write, dont sign
If you sign, dont be surprised

Monday, November 19, 12

You might also like