Javascript

BGGP3 Research Notes

Jul 5, 2022 · 12 mins read

The 3rd Annual Binary Golf Grand Prix (BGGP3) is to find the smallest file which will crash a specific program.

XSS to Reverse Shell: Only a Sith Deals in Absolutes

Oct 9, 2021 · 4 mins read

Recently I stumbled across a thread on Reddit r/AskNetsec Now, without looking at the post: What do you think the answers looked like?

Anti-Debug JS/WASM by Hand

Aug 22, 2021 · 11 mins read

Last week a friend of mine asked me to debug/RE some phishing emails that had been sent to them. These phishing emails were visually very clever and looked identical to the real site! But as I looked at the javascript I frankly became embarassed for the developer. Sure, they’d run the code through an obfuscation engine and added some basic anti-debug tricks, but that’s nothing you can’t defeat with AST and proxying function calls.

Crossing the Line of Death

Mar 27, 2021 · 3 mins read

In early 2017, @ericlaw wrote a blog post titled The Line of Death. The general premise is that there is some inherent user trust of any content that appears above the browser window and that considerations must be taken to ensure that browsers can not be manipulated to easily betray this trust.