Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.8K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
Hacking Articles Tips Tricks Videos Tutorials
Photo
Kali Linux Tutorials
Php-Malware-Finder : Detect Potentially Malicious PHP Files

PHP-malware-finder does its very best to detect obfuscated/dodgy code as well as files using PHP functions often used in malwares/webshells.

The following list of encoders/obfuscators/webshells are also detected:

* Bantam
* Best PHP Obfuscator
* Carbylamine
* Cipher Design
* Cyklodev
* Joes Web Tools Obfuscator
* P.A.S
* PHP Jiami
* Php Obfuscator Encode
* SpinObf
* Weevely3
* atomiku
* cobra obfuscator
* nano
* novahot
* phpencode
* tennc
* web-malware-collection
* webtoolsvn

Of course it’s trivial to bypass PMF, but its goal is to catch kiddies and idiots, not people with a working brain. If you report a stupid tailored bypass for PMF, you likely belong to one (or both) category, and should re-read the previous statement.

How does it work?

Detection is performed by crawling the filesystem and testing files against a set of YARA rules. Yes, it’s that simple!

Instead of using an hash-based approach, PMF tries as much as possible to use semantic patterns, to detect things like “a $_GETvariable is decoded two times, unzipped, and then passed to some dangerous function like system“.

Installation

* Install Yara.
This is also possible via some Linux package managers:
* Debian: sudo apt-get install yara
* Red Hat: yum install yara(requires the EPEL repository)
You can also compile it from source:

git clone git@github.com:VirusTotal/yara.git
cd yara/
YACC=bison ./configure
make

* Download php-malware-finder git clone https://github.com/jvoisin/php-malware-finder.git

How to use it?

$ ./phpmalwarefinder -h
Usage phpmalwarefinder [-cfhtvl] …
-c Optional path to a rule file
-f Fast mode
-h Show this help message
-t Specify the number of threads to use (8 by default)
-v Verbose mode

Or if you prefer to use yara:

$ yara -r ./php.yar /var/www

Please keep in mind that you should use at least YARA 3.4 because we’re using hashes for the whitelist system, and greedy regexps. Please note that if you plan to build yara from sources, libssl-dev must be installed on your system in order to have support for hashes.

Oh, and by the way, you can run the comprehensive testsuite with make tests.

Whitelisting

Check the whitelist.yar file. If you’re lazy, you can generate whitelists for entire folders with the generate_whitelist.py script.

Why should I use it instead of something else?

Because:

* It doesn’t use a single rule per sample, since it only cares about finding malicious patterns, not specific webshells
* It has a complete testsuite, to avoid regressions
* Its whitelist system doesn’t rely on filenames
* It doesn’t rely on (slow) entropy computation
* It uses a ghetto-style static analysis, instead of relying on file hashes
* Thanks to the aforementioned pseudo-static analysis, it works (especially) well on obfuscated files
Download
Stumbling into the bug of another

The work of another bug hunter is staring back at you. Is your job half done?Continue reading on Medium »
Read more...
The work of another bug hunter is staring back at you. Is your job half done?Continue reading on Medium » (https://adamwize.medium.com/stumbling-into-the-bug-of-another-c11f1848ba75?source=rss------bug_bounty-5)
Recently started with pen-testing
https://www.reddit.com/r/Pentesting/comments/tk1xfx/recently_started_with_pentesting/

<!-- SC_OFF -->Hi, so I went to a website from BugCrowd and Wappalyzer showed me that the website is using "gatsby@2.24.62 (mailto:gatsby@2.24.62)" JavaScript Framework which is vulnerable to several attacks as shown here - https://snyk.io/test/npm/gatsby/2.24.62 so is that website really vulnerable to RCE and DDOS as shown in this link and am I just supposed to tell them to upgrade or actually attack them with them, I am just confused as to how I should move forward. ​ Thanks! <!-- SC_ON --> submitted by /u/blank1993 (https://www.reddit.com/user/blank1993)
[link] (https://www.reddit.com/r/Pentesting/comments/tk1xfx/recently_started_with_pentesting/) [comments] (https://www.reddit.com/r/Pentesting/comments/tk1xfx/recently_started_with_pentesting/)
hacking: security in practice
Remember Skism?

I'm trying to learn more about them because they're the guys who turned malware production into a form of art (well, in my eyes at least.) I know they're from the entirety of the 90's, they wrote the suicide virus for MSDOS, they're behind 40Hex, and they created the Phalcon-Skism mass produced code generator. That's all I really know about them and wikipedia won't help. Anyone know anything about them?

submitted by /u/justtheskates
[link] [comments]
Dark Reading: Attacks/Breaches
The Secret to Zero Trust You Need to Know

If every application, device, and bot need access and authentication at some point, the need for managing and controlling the confidential data that allows those functions gets staggeringly large.