April 11th, 2023: Unroll (web method) is now working for Premium users!
Log in to your account page
and click on the "Unroll Thread" button.
Thread Reader
Share this page!
×
Tweet
Share
Email
Enter Twitter Thread URL to Unroll
×
Unroll Thread
Needs to be the full URL like: https://twitter.com/threadreaderapp/status/1644127596119195649
How to get URL link on Twitter App
On the Twitter thread, click on
or
icon on the bottom
Click again on
or
Share Via icon
Click on
Copy Link to Tweet
Paste it above and click "Unroll Thread"!
More info at
Twitter Help
Malwrologist
@DissectMalware
Cybersecurity researcher DM is always open xlmdeobfuscator: https://t.co/zlbtaqE1YS
Subscribe
Aug 4, 2018
•
5 tweets
•
7 min read
#linux
#bash
#path
#obfuscation
goal: obfuscate /etc/passwd
1)
#directorytraversal
: /mnt/././../etc/././passwd
2)
escape characher: /etc/.\/\/\/\/\/passwd /etc/.\/.\/.\/.\/passwd /\e\t\c/passwd
3)
null character /et$'c/pa\u0000/notexist/path'sswd
....
#path
#obfuscation
using
#symbolic
#link
ln -s / anything
head -n 2 anything////../etc/passwd
ln -s ../../ wow
head -n 2 ././wow/../etc/passwd
* ../ after a sym link applies to the sym link not the current path
Jul 30, 2018
•
6 tweets
•
6 min read
#linux
#bash
#obfuscation
using shell parameter expansion:
alphabet=abcdefghijklmnopqrstuvwxyz
${alphabet:2:1}at really
${alphabet: -24:-23}at really
${alphabet: -24:1}at really
${alphabet:2:-23}at really
gnu.org/software/bash/…
similar
#bat
#windows
(
ss64.com/nt/syntax-subs…
)
The goal is to obfuscate the following command:
cat really
in which, really is a file.
Jul 29, 2018
•
13 tweets
•
6 min read
#linux
#bash
#obfuscation
using octal vals
$'\143\141\164' really
gnu.org/software/bash/…
"Words of the form $'string' are treated specially. The word expands to string, with backslash-escaped characters replaced as specified by the ANSI C standard."
https://twitter.com/DissectMalware/status/1020794867952365568
Variations
$'\143'$'\141'$'\164' really
$'\143'''$'\141'''''''''''''$'\164' really
$'\143'''$'\141'''""''''""''$'\164' really
Explanation:
'' -> empty string
""-> empty string
'a''b' -> 'ab' (concatenation)
(deleted the previous one, as the picture had a problem)