Successfully reported this slideshow.
Your SlideShare is downloading. ×

OPSEC for hackers

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
An Underground education
An Underground education
Loading in …3
×

Check these out next

1 of 154 Ad
Advertisement

More Related Content

Viewers also liked (20)

Similar to OPSEC for hackers (20)

Advertisement

Recently uploaded (20)

OPSEC for hackers

  1. 1. OPSEC for hackers: because jail is for wuftpd the.grugq@gmail.com
  2. 2. OPSEC forFREEDOM FIGHTERS hackers: because jail is for wuftpd the.grugq@gmail.com
  3. 3. Overview • Intro to OPSEC • Methodology • lulzsec: lessons learned • Techniques • Technology • Conclusion
  4. 4. Avon:You only got to fuck up once… Be a little slow, be a little late, just once. How you ain’t gonna never be slow? Never be late? You can’t plan for that. Thats life.
  5. 5. Intro to OPSEC
  6. 6. WTF is it?
  7. 7. OPSEC in a nutshell • Keep your mouth shut • Guard secrets • Need to know • Never let anyone get into position to blackmail you
  8. 8. STFU
  9. 9. Methodology
  10. 10. • 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
  11. 11. The 10 Hack Commandments
  12. 12. FREEDOM The 10 Hack FIGHTING Commandments
  13. 13. • Rule 1: Never reveal your operational details
  14. 14. • Rule 1: Never reveal your operational details • Rule 2: Never reveal your plans
  15. 15. • Rule 1: Never reveal your operational details • Rule 2: Never reveal your plans • Rule 3: Never trust anyone
  16. 16. • 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 FREEDOM FIGHTING
  17. 17. • 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 FREEDOM FIGHTING • Rule 5: Never operate from your own house
  18. 18. • Rule 6: Be proactively paranoid, it doesn’t work retroactively
  19. 19. • Rule 6: Be proactively paranoid, it doesn’t work retroactively FREEDOM • Rule 7: Keep personal life and hacking FIGHTING separated
  20. 20. • Rule 6: Be proactively paranoid, it doesn’t work retroactively FREEDOM • Rule 7: Keep personal life and hacking FIGHTING separated • Rule 8: Keep your personal environment contraband free
  21. 21. • Rule 6: Be proactively paranoid, it doesn’t work retroactively FREEDOM • Rule 7: Keep personal life and hacking FIGHTING separated • Rule 8: Keep your personal environment contraband free • Rule 9: Don’t talk to the police
  22. 22. • Rule 6: Be proactively paranoid, it doesn’t work retroactively FREEDOM • Rule 7: Keep personal life and hacking FIGHTING separated • Rule 8: Keep your personal environment contraband free • Rule 9: Don’t talk to the police • Rule 10: Don't give anyone power over you
  23. 23. Why do you need OPSEC?
  24. 24. It hurts to get fucked
  25. 25. No one is going to go to jail for you.
  26. 26. Your friends will betray you.
  27. 27. #lulzsec: lessons learned
  28. 28. never ever ever do this
  29. 29. Violation Never trust anyone
  30. 30. ProTip: Don’t use your personal Facebook account to send defacement code toFREEDOM FIGHTERS your friends
  31. 31. Violation Don’t contaminate
  32. 32. Violation Keep personal life and hacking separate
  33. 33. Violation Keep personal life and FREEDOM hacking separate FIGHTING
  34. 34. Violation Never operate from your home
  35. 35. Violation Don’t reveal operational details
  36. 36. Violation Don’t reveal operational details
  37. 37. Violation Be paranoid
  38. 38. 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
  39. 39. 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
  40. 40. 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
  41. 41. 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
  42. 42. 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?
  43. 43. 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"
  44. 44. 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
  45. 45. HAPPY ENDING Virus is still free
  46. 46. Violation Never contaminate
  47. 47. Bonus: w0rmer
  48. 48. Techniques
  49. 49. Plumbing
  50. 50. It is boring.
  51. 51. You’ll know it worked if nothing happens.
  52. 52. Put it in place first.
  53. 53. Paranoia doesn’t work retroactively
  54. 54. Personas
  55. 55. 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.
  56. 56. Problem: You are you.
  57. 57. Solution: Be someone else.
  58. 58. Personas • Danger to personas is contamination • Contact between personas (covers) contaminates both • Keep cover identities isolated from each other
  59. 59. Layered defense
  60. 60. • Fail safe technological solution • TOR all the things! • Back stop persona • Primary cover alias as first identity • Secondary cover aliases (eg. handles)
  61. 61. Profiling data
  62. 62. Pitfalls • Location revealing information • Weather • Time • Political events • Profiling data
  63. 63. Practice • Amateurs practice until they get it right, professionals practice until they can’t get it wrong • Practice makes perfect
  64. 64. 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?
  65. 65. No logs. No crime.
  66. 66. Staying Anonymous
  67. 67. Personal info is profiling info
  68. 68. Guidelines against profiling • Do not include personal informations in your nick and screen name. • Do not discuss personal informations in the chat, where you are from... • Do not mention your gender, tattoos, piercings or physical capacities.
  69. 69. Guidelines, cont. • Do not mention your profession, hobbies or involvement in activist groups • Do not use special characters on your keyboard unique to your language • Do not post informations to the regular internet while you are anonymous in IRC. • Do not use Twitter and Facebook
  70. 70. Guidelines, cont. • Do not post links to Facebook images. The image name contains a personal ID. • Do not keep regular hours / habits (this can reveal your timezone, geographic locale) • Do not discuss your environment, e.g. weather, political activities,
  71. 71. Hackers are no longer the apex predator
  72. 72. Hackers are no longer FREEDOM FIGHTERS the apex predator
  73. 73. That position has been ceded to LEO
  74. 74. That position has been ceded to LEO * *Law Enforcement Officials
  75. 75. Technology
  76. 76. VPNs vs. TOR • VPNs provide privacy • TOR provides anonymity • Confuse the two at your peril
  77. 77. • TOR connection to a VPN => OK • VPN connection to TOR => GOTO JAIL
  78. 78. 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/
  79. 79. Fail closed
  80. 80. PORTAL
  81. 81. PORTAL Personal Onion Router To Avoid LEO
  82. 82. 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
  83. 83. PORTAL • Uses tricks to get additional storage space on /
  84. 84. Hardware • TP-LINK AR71xx personal routers • MR-11U • MR-3040 • MR-3020 • WR-703N
  85. 85. MR-3040 & MR-11U • Battery powered • Approx. 4-5 hrs per charge • USB for 3G modem
  86. 86. http://torporfavor.org/ download/portal/
  87. 87. Conclusion
  88. 88. STFU
  89. 89. Questions?
  90. 90. If you think, don’t speak If you speak, don’t write If you write, don’t sign If you sign, don’t be surprised

Editor's Notes

  • \n
  • \n
  • STFU\nNeed to Know\nPlumbing\n
  • The Wire, season 1, episode 5. This show is the most quotable show for OPSEC, evar!\n
  • \n
  • \n
  • “Thwarting enemies at home and abroad” book. Blackmail is basically, don’t allow anyone to have power over you where they can dictate your actions. You ceed control of your actions to someone else, and it will end poorly for you.\n
  • \n
  • I love this guide. It provides general guidelines to committing criminal activities and staying out of jail. These are good OPSEC techniques for one activity (smoking weed), but many can be generalized to all criminal^W freedom fighting activities.\n
  • \n
  • \n
  • \n
  • NOTE: not using code doesn’t mean don’t use cryptonyms (code names). These are very good.\n
  • NOTE: not using code doesn’t mean don’t use cryptonyms (code names). These are very good.\n
  • NOTE: not using code doesn’t mean don’t use cryptonyms (code names). These are very good.\n
  • NOTE: not using code doesn’t mean don’t use cryptonyms (code names). These are very good.\n
  • \n
  • \n
  • \n
  • \n
  • #4 - don’t socialize with your criminal co-conspirators\n
  • #4 - don’t socialize with your criminal co-conspirators\n
  • #4 - don’t socialize with your criminal co-conspirators\n
  • #4 - don’t socialize with your criminal co-conspirators\n
  • #4 - don’t socialize with your criminal co-conspirators\n
  • #4 - don’t socialize with your criminal co-conspirators\n
  • #4 - don’t socialize with your criminal co-conspirators\n
  • #10: control over your actions.\n
  • #10: control over your actions.\n
  • #10: control over your actions.\n
  • #10: control over your actions.\n
  • #10: control over your actions.\n
  • #10: control over your actions.\n
  • #10: control over your actions.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • This is a violation of the principle of “need to know”. Your lawyer needs to know that you are on probation (for a specific charge). Your criminal co-conspirators do not need to know this!\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • note: example of good opsec, the feds dont’ name the other guy, ‘co-conspirator not named ... herein’. Only people who know who this is are: donncha, the hacker^Wfreedom fighter, and the feds pursuing the case\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Keep your hacking^W freedom fighting, and family, completely separated\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • directly connecting to the target from your home IP? Are you out of your fucking mind!\n
  • directly connecting to the target from your home IP? Are you out of your fucking mind!\n
  • directly connecting to the target from your home IP? Are you out of your fucking mind!\n
  • directly connecting to the target from your home IP? Are you out of your fucking mind!\n
  • directly connecting to the target from your home IP? Are you out of your fucking mind!\n
  • directly connecting to the target from your home IP? Are you out of your fucking mind!\n
  • colloquially, don’t shit where you eat.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • They call them warning signs for a reason...\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • They call them warning signs for a reason...\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • self incriminating confession == bad\n
  • \n
  • Interrogation tactic: appeal to pride, ridicule the hacker’s abilities, encouraging him to “correct” your misperception of him... and in the process, confess. DO NOT TALK TO POLICE!\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • credit: ben nagy found this pic, i stole it from him cause my conference talk is first, :D\n
  • \n
  • NOTE: he’s wearing a mask. \ncredit: ben nagy also found this photo. \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • use tor\n
  • \n
  • \n
  • \n
  • \n
  • \n

×