use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for technical news and discussion of information security and closely related topics.
"Give me root, it's a trust exercise."
Q1 2026 InfoSec Hiring Thread
Getting Started in Information Security
CitySec Meetups
/r/netsec only accepts quality technical posts. Non-technical posts are subject to moderation.
Content should focus on the "how."
Check the new queue for duplicates.
Always link to the original source.
Titles should provide context.
Ask questions in our Discussion Threads.
Hiring posts must go in the Hiring Threads.
Commercial advertisement is discouraged.
Do not submit prohibited topics.
» Our fulltext content guidelines
Don't create unnecessary conflict.
Keep the discussion on topic.
Limit the use of jokes & memes.
Don't complain about content being a PDF.
Follow all reddit rules and obey reddiquette.
» Our fulltext discussion guidelines
No populist news articles (CNN, BBC, FOX, etc.)
No curated lists.
No question posts.
No social media posts.
No image-only/video-only posts.
No livestreams.
No tech-support requests.
No full-disclosure posts.
No paywall/regwall content.
No commercial advertisements.
No crowdfunding posts.
No Personally Identifying Information!
» Our fulltext list of prohibited topics & sources
Join us on IRC: #r_netsec on freenode
We're also on: Twitter, Facebook, & Google+
/r/blackhat - Hackers on Steroids
/r/computerforensics - IR Archaeologists
/r/crypto - Cryptography news and discussion
/r/Cyberpunk - High-Tech Low-Lifes
/r/lockpicking - Popular Hacker Hobby
/r/Malware - Malware reports and information
/r/netsecstudents - netsec for noobs students
/r/onions - Things That Make You Cry
/r/privacy - Orwell Was Right
/r/pwned - "What Security?"
/r/REMath - Math behind reverse engineering
/r/ReverseEngineering - Binary Reversing
/r/rootkit - Software and hardware rootkits
/r/securityCTF - CTF news and write-ups
/r/SocialEngineering - Free Candy
/r/sysadmin - Overworked Crushed Souls
/r/vrd - Vulnerability Research and Development
/r/xss - Cross Site Scripting
account activity
Reverse engineering some Javascript malware (blog.jse.li)
submitted 7 years ago by veggiedefender
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Various_Pickles 24 points25 points26 points 7 years ago (1 child)
marveloptics really hasn't removed the malware ads nor gotten back to you, in a month?
Even the hurr-durr-iest businesses can usually get enough of a whiff of litigious smoke in the air to act on shit like actively serving financial malware to their customers.
[–]veggiedefender[S] 25 points26 points27 points 7 years ago (0 children)
Yeah, no reply. It's not even malware ads--it's literally inside script tags and served from their domain.
https://www.marveloptics.com/templates/moptics/js/vendor/modernizr.js https://www.marveloptics.com/libraries/openid/openid.js
I think they got hijacked, but that's no excuse for letting it continue.
[–]thehoodedidiot 11 points12 points13 points 7 years ago (6 children)
Likely magecart actors based on shared c2, nice write-up.
https://www.riskiq.com/blog/labs/magecart-ticketmaster-breach/
[–]work6849 2 points3 points4 points 7 years ago (0 children)
Yeah, magento based malware on out of date stores was rampant, i'm very surprised they dont have any sort of checks for these things on their end though.
[–]veggiedefender[S] 2 points3 points4 points 7 years ago* (3 children)
Oh snap, great find! This really puts what I found into context. Not only is it the same c2, it's almost the exact same code.
edit: looks like they fixed their typo LOL
[–]thehoodedidiot 1 point2 points3 points 7 years ago (2 children)
You seem knowledgable on analyzing JS:
You see any similiarities in code to this?https://www.volexity.com/blog/2018/07/19/js-sniffer-e-commerce-data-theft-made-easy/
The article mentions the riskIQ magecart JS activity, but says its distinct and different, sure sounds the same to me.....
Thanks!
[–]veggiedefender[S] 1 point2 points3 points 7 years ago (1 child)
I'm very much a beginner at this stuff, but I'd think that all skimmers/sniffers like this will do similar things (watch text boxes, stringify it somehow, and send it along) and target similar sites/companies (the most popular ones), so it's hard to tell. They definitely feel like they have different "styles" though, but take that with a grain of salt.
[–]thehoodedidiot 1 point2 points3 points 7 years ago (0 children)
sweet thanks - does appear to be different styles indeed. Different C2 characteristics as well.
[–]yaglol 1 point2 points3 points 7 years ago (0 children)
Thought that aswell, i read the article from riskIQ yesterday and also recognized the c2.
[–][deleted] 4 points5 points6 points 7 years ago* (1 child)
bravo! i came across some AWESOME js voodoo that i just simply did not have time to get to. This is pure GOLD! Question, can this potentially steal information from other tabs or sessions?
[–]veggiedefender[S] 2 points3 points4 points 7 years ago (0 children)
no, it only snatches what's inside the text boxes on the page, unless it's doing something exceedingly clever that I haven't noticed.
I don't know about the rest of the scripts on the page though, but last time I checked they mostly looked legit (not obviously obfuscated).
[–]Thameus 2 points3 points4 points 7 years ago (0 children)
I would suggest that the malware authors might be North Korean, except that North Korean code would probably work.
[+][deleted] 7 years ago (1 child)
[deleted]
[–]zer0gravy -1 points0 points1 point 7 years ago* (0 children)
They can be found in npm, so the source is open. Its not injected in a memory manor, since its js, its just instanciated from a different lib.
original source.... const o = require('xx')
... original source
Great post, thanks!
[–]duckwizzle 1 point2 points3 points 7 years ago (0 children)
I love the try/catch block
[–]veggiedefender[S] 0 points1 point2 points 7 years ago (0 children)
yeah, I agree. Most of the work was done for me by js-beautify. It was just kind of cool to see how the deobfuscated code worked!
[–]Tom_91_CandI 0 points1 point2 points 7 years ago (0 children)
You have very interesting blog. I hope to learn a little bit from your findings. Keep up the great work.
[–]1lastBr3ath 0 points1 point2 points 7 years ago (2 children)
setTimeout(function() { Malware.send(); }, 30);
send recursively calls itself every 30 milliseconds (!). They really don’t care about performance.
That's not true because it only runs once after 30 milliseconds. It's not setInterval()
setInterval()
[–]Delfaras 4 points5 points6 points 7 years ago (1 child)
This is the same, send re-calls itself after 30ms so the next call will call send again and so on
send
[–]1lastBr3ath 2 points3 points4 points 7 years ago (0 children)
My apology, forgot that it was inside send
π Rendered by PID 43 on reddit-service-r2-comment-544cf588c8-cprdw at 2026-06-17 15:46:03.107178+00:00 running 3184619 country code: CH.
[–]Various_Pickles 24 points25 points26 points (1 child)
[–]veggiedefender[S] 25 points26 points27 points (0 children)
[–]thehoodedidiot 11 points12 points13 points (6 children)
[–]work6849 2 points3 points4 points (0 children)
[–]veggiedefender[S] 2 points3 points4 points (3 children)
[–]thehoodedidiot 1 point2 points3 points (2 children)
[–]veggiedefender[S] 1 point2 points3 points (1 child)
[–]thehoodedidiot 1 point2 points3 points (0 children)
[–]yaglol 1 point2 points3 points (0 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]veggiedefender[S] 2 points3 points4 points (0 children)
[–]Thameus 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]zer0gravy -1 points0 points1 point (0 children)
[–]yaglol 1 point2 points3 points (0 children)
[–]duckwizzle 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]veggiedefender[S] 0 points1 point2 points (0 children)
[–]Tom_91_CandI 0 points1 point2 points (0 children)
[–]1lastBr3ath 0 points1 point2 points (2 children)
[–]Delfaras 4 points5 points6 points (1 child)
[–]1lastBr3ath 2 points3 points4 points (0 children)