Hacking Articles Tips Tricks Videos Tutorials
Kali Linux Tutorials TerraGoat : Vulnerable Terraform Infrastructure TerraGoat is Bridgecrew’s “Vulnerable by Design” Terraform repository. TerraGoat is a learning and training project that demonstrates how common configuration errors can find their way into…
created for the relevant project. To create the Service Account:
* Sign into your GCP project, go to
* Click the
* Give a name to your service account (for example –
* Grant the Service Account the
* Click
To create the credentials:
* Sign into your GCP project, go to
* Click
We recommend saving the key with a nicer name than the auto-generated one (i.e.
export TF_VAR_environment=”dev”
export TF_TERRAGOAT_STATE_BUCKET=remote-state-bucket-terragoat
export TF_VAR_credentials_path= # example: export TF_VAR_credentials_path=terragoat_credentials.json
export TF_VAR_project=
Create storage bucket
gsutil mb gs://${TF_TERRAGOAT_STATE_BUCKET}
Apply TerraGoat (GCP)
cd terraform/gcp/
terraform init -reconfigure -backend-config=”bucket=$TF_TERRAGOAT_STATE_BUCKET” \
-backend-config “credentials=$TF_VAR_credentials_path” \
-backend-config “prefix=terragoat/${TF_VAR_environment}”
terraform apply
Remove TerraGoat (GCP)
terraform destroy Download
* Sign into your GCP project, go to
IAM> Service Accounts.* Click the
CREATE SERVICE ACCOUNT.* Give a name to your service account (for example –
terragoat) and click CREATE.* Grant the Service Account the
Project> Editorrole and click CONTINUE.* Click
DONE.To create the credentials:
* Sign into your GCP project, go to
IAM> Service Accountsand click on the relevant Service Account.* Click
ADD KEY> Create new key> JSONand click CREATE. This will create a .jsonfile and download it to your computer.We recommend saving the key with a nicer name than the auto-generated one (i.e.
terragoat_credentials.json), and storing the resulting JSON file inside terraform/gcpdirectory of terragoat. Once the credentials are set up, create the BE configuration as follows:export TF_VAR_environment=”dev”
export TF_TERRAGOAT_STATE_BUCKET=remote-state-bucket-terragoat
export TF_VAR_credentials_path= # example: export TF_VAR_credentials_path=terragoat_credentials.json
export TF_VAR_project=
Create storage bucket
gsutil mb gs://${TF_TERRAGOAT_STATE_BUCKET}
Apply TerraGoat (GCP)
cd terraform/gcp/
terraform init -reconfigure -backend-config=”bucket=$TF_TERRAGOAT_STATE_BUCKET” \
-backend-config “credentials=$TF_VAR_credentials_path” \
-backend-config “prefix=terragoat/${TF_VAR_environment}”
terraform apply
Remove TerraGoat (GCP)
terraform destroy Download
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
Installation
* Install Yara.
This is also possible via some Linux package managers:
* Debian:
* Red Hat:
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
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 -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
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
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.gitHow 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 »
Read more...
Stumbling into the bug of another
https://adamwize.medium.com/stumbling-into-the-bug-of-another-c11f1848ba75?source=rss------bug_bounty-5
https://adamwize.medium.com/stumbling-into-the-bug-of-another-c11f1848ba75?source=rss------bug_bounty-5
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/)
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 on Medium
Hacking
Hacking Definition :
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Hacking
Hacking Definition :
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Medium
Hacking
Hacking Definition :
Hacking on Medium
การใช้ Scrcpy ไร้สาย!
https://cdn-images-1.medium.com/max/1399/1*PxA8LJWziIlVR5d5oo8qkA.png
Scrcpy ย่อมาจาก “screen copy”
Continue reading on SnoopBees »
➖ Sent by @TheFeedReaderBot ➖
การใช้ Scrcpy ไร้สาย!
https://cdn-images-1.medium.com/max/1399/1*PxA8LJWziIlVR5d5oo8qkA.png
Scrcpy ย่อมาจาก “screen copy”
Continue reading on SnoopBees »
➖ Sent by @TheFeedReaderBot ➖
Medium
การใช้ Scrcpy ไร้สาย!
Scrcpy ย่อมาจาก “screen copy”
Hacking on Medium
Cybersecurity for beginners
https://cdn-images-1.medium.com/max/750/1*veFLEmYDCEfskf-0LyE9Pg.jpeg
The new year in Portugal brought to the table a new old topic: cybersecurity. Although it’s not something new, the recent attacks on…
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Cybersecurity for beginners
https://cdn-images-1.medium.com/max/750/1*veFLEmYDCEfskf-0LyE9Pg.jpeg
The new year in Portugal brought to the table a new old topic: cybersecurity. Although it’s not something new, the recent attacks on…
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Medium
Cybersecurity for beginners
The new year in Portugal brought to the table a new old topic: cybersecurity. Although it’s not something new, the recent attacks on…
Hacking on Medium
TryHackMe writeup: Alfred
https://cdn-images-1.medium.com/max/785/1*_kA973FnKq9yOS1UeLdoDA.png
Here, I will use Jenkins as a vector to gain initial access to a target system and then use token impersonation for privilege escalation.
Continue reading on InfoSec Write-ups »
➖ Sent by @TheFeedReaderBot ➖
TryHackMe writeup: Alfred
https://cdn-images-1.medium.com/max/785/1*_kA973FnKq9yOS1UeLdoDA.png
Here, I will use Jenkins as a vector to gain initial access to a target system and then use token impersonation for privilege escalation.
Continue reading on InfoSec Write-ups »
➖ Sent by @TheFeedReaderBot ➖
Medium
TryHackMe writeup: Alfred
Here, I will use Jenkins as a vector to gain initial access to a target system and then use token impersonation for privilege escalation.
Hacking on Medium
Cyber Extortionists LAPSUS$ Claim to Have Hacked Okta
https://cdn-images-1.medium.com/max/2600/0*76ABp6yrP3RGyDHd
The hacking group appears to have had a very busy Monday night.
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Cyber Extortionists LAPSUS$ Claim to Have Hacked Okta
https://cdn-images-1.medium.com/max/2600/0*76ABp6yrP3RGyDHd
The hacking group appears to have had a very busy Monday night.
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Medium
Cyber Extortionists LAPSUS$ Claim to Have Hacked Okta
The hacking group appears to have had a very busy Monday night.
Hacking on Medium
How our Discord was compromised?
https://cdn-images-1.medium.com/max/1920/1*VQnmpK3sI7_aRdHxbU21TQ.png
Several Discord servers have been hacked in recent days.
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
How our Discord was compromised?
https://cdn-images-1.medium.com/max/1920/1*VQnmpK3sI7_aRdHxbU21TQ.png
Several Discord servers have been hacked in recent days.
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Medium
How our Discord was compromised?
Several Discord servers have been hacked in recent days. We also weren’t protected by the current revelations, as cybercriminals hacked our…
Hacking on Medium
Stumbling into the bug of another
https://cdn-images-1.medium.com/max/2600/1*UiSAqvgAByJMclmUQOJh7A.jpeg
The work of another bug hunter is staring back at you. Is your job half done?
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Stumbling into the bug of another
https://cdn-images-1.medium.com/max/2600/1*UiSAqvgAByJMclmUQOJh7A.jpeg
The work of another bug hunter is staring back at you. Is your job half done?
Continue reading on Medium »
➖ Sent by @TheFeedReaderBot ➖
Medium
Stumbling into the bug of another
The work of another bug hunter is staring back at you. Is your job half done?
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]
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]
reddit
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...
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking Articles Tips Tricks Videos Tutorials
Photo