+ All Categories
Home > Documents > Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1...

Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1...

Date post: 22-Sep-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
41
4/17/20 1 Web Apps Dripping With Honey OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1
Transcript
Page 1: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

1

Web Apps Dripping With Honey

OWASP Denver and Boulder too!!April 2020

HARSH TRUTH #1

Page 2: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

2

Bypassing defenses is often very easy

HARSH TRUTH #2

Page 3: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

3

INTLEAK IS REAL

Page 4: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

4

HARSH TRUTH #3

Page 5: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

5

Sales folks want sales

It really is this easy!

A 90-day demo! Heck yeah, we can make that

happen!

Page 6: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

6

HARSH TRUTH #4

It’s easier than ever to leverage tech on a PoC

Page 7: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

7

Jeff McJunkin to the rescue

Also, BHIS/AC

Page 8: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

8

HARSH TRUTH #5

PoC will be… harsh

Page 9: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

9

SCENE DELETED

(use your imagination)

Recap:

Page 10: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

10

1. Easy to find your defenses. 2. Easy to get your defenses.3. Easy to setup an abuse lab.

HARSH TRUTH #6

Page 11: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

11

Defenses we all use are broken.But there is another way.

Hi, I’m Mick!

• Managing Partner of InfoSec Innovations• Teach SANS 504 & 555• IANS Faculty• @BetterSafetyNet

Page 12: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

12

What we’re going to cover

• Honeypots are dead easy • Used appropriately, honeypots can be used with existing infrastructure.• Attackers trip over honeypots• They slow attackers down•Make for easier detection•Make for quicker detection

GOOD TRUTH #1

Page 13: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

13

Attackers expect “normal”

GOOD TRUTH #2

Page 14: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

14

Attackers are predictable

1. Recon2. Probing3. Exploitation4. Post-Exploitation

Page 15: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

15

GOOD TRUTH #3

Honeypots are dead easy…

Page 16: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

16

Any interaction is suspect

GOOD TRUTH #4

Page 17: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

17

Web architectures are easy to “honey”

“classic” N-tier architecture Web services

Presentation

Application

Data store

ServiceServiceServiceServiceServiceService

ServiceServiceServiceServiceService

ServiceServiceServiceServiceService

Honeypots are dead easy…

Page 18: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

18

Honeypots confuse

Confuse recon

Page 19: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

19

PortSpoof

How to run portspoof

Sudo portspoof *** get options here

Page 20: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

20

Honeypots misdirect

Misdirect probes

Page 21: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

21

Robots.txt

Honey Robot.txt

Page 22: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

22

Honey Upload

Page 23: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

23

REDACTED

Page 24: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

24

Honey User Logon

Page 25: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

25

Page 26: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

26

Honeypots are dead easy…

Honeypots lie

Page 27: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

27

Lie to the exploit

Web Services

Page 28: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

28

Page 29: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

29

Honeypots buy time

Honeypot data

Page 30: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

30

DESCRIBE CC_Info;

+-------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+---------------------+------+-----+---------+----------------+ | Cust_ID | int(10) unsigned | NO | PRI | NULL | auto_increment | | CC_Num | varchar(16) | NO | UNI | NULL | | | Card_Name | varchar(75) | NO | | NULL | | | Expires | date | NO | | NULL | | | CSC | int(3) | NO | | NULL | | | active_user | tinyint(1) unsigned | NO | MUL | 1 | | +-------------+---------------------+------+-----+---------+----------------+

DESCRIBE Potential_Explore_Sites;

+-------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+---------------------+------+-----+---------+----------------+ | Site_ID | int(10) unsigned | NO | PRI | NULL | auto_increment | | LAT | int(6) | NO | UNI | NULL | | | LONG | int(6) | NO | | NULL | | | Purch_Max | int(9) | NO | | NULL | | | Purch_Date | date | YES | | NULL | | +-------------+---------------------+------+-----+---------+----------------+

Page 31: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

31

Honeypots are dead easy…

You’re already ready!

Page 32: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

32

Shout out to:Michael Hogue-Rennie

Page 33: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

33

Page 34: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

34

x.x.x.x - - [20/Oct/2019:10:27:32 -0500] "GET /scripts/libs/jquery-ui.min.js" 404 7218

404’s as honeypots!

Page 35: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

35

1. Pictures2. CSS3. JavaScript files4. XML Schemas

RECAP

• Honeypots are dead easy • Overlay honeypots are best.• Advantages of honeypots• They slow attackers down•Make for easier detection•Make for quicker detection

Page 36: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

36

Conventional Wisdom isn’t wise

• Have to be a pen tester when I “grow up”• Have to do all the things before I do “active defense”

Thank you!

•My wife• SANS• You!

Page 37: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

37

Oh $&@+!! I finished too early!

Page 38: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

38

MORE HONEY AWESOME!

Honeypots hurt

Page 39: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

39

Honeypots hurt*(consult your lawyers)

Honeypot zipbomb

Page 40: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

40

Honeypot PDF

Page 41: Web Apps Dripping With Honey - OWASP...OWASP Denver and Boulder too!! April 2020 HARSH TRUTH #1 4/17/20 2 Bypassing defenses is often very easy HARSH TRUTH #2 4/17/20 3 INTLEAK IS

4/17/20

41

MSFVenom


Recommended