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 on Medium
Can a single hacker hack an entire country?


There’s nothing so inspiring in the new millennium as the Obama administration’s creation of a new position for a cybersecurity expert in…

Continue reading on Medium »
CrowdSec - An Open-Source Massively Multiplayer Firewall Able To Analyze Visitor Behavior And Provide An Adapted Response To All Kinds Of Attacks
http://www.kitploit.com/2021/09/crowdsec-open-source-massively.html
CrowdSec is a free, modern & collaborative behavior detection engine, coupled with a global IP reputation network. It stacks on fail2ban's philosophy but is IPV6 compatible and 60x faster (Go vs Python), uses Grok patterns to parse logs and YAML scenario to identify behaviors. CrowdSec is engineered for modern Cloud / Containers (https://www.kitploit.com/search/label/Containers) / VM based infrastructures (by decoupling detection and remediation). Once detected you can remedy threats with various bouncers (firewall block, nginx http 403, Captchas, etc.) while the aggressive IP can be sent to CrowdSec for curation before being shared among all users to further improve everyone's security. See FAQ (https://doc.crowdsec.net/docs/faq) or read bellow for more.
2 mins install
Installing it through the Package system (https://doc.crowdsec.net/docs/getting_started/install_crowdsec) of your OS is the easiest way to proceed. Otherwise, you can install it from source.
From package (Debian)
curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash
sudo apt-get update
sudo apt-get install crowdsec
From package (rhel/centos/amazon linux)
curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.rpm.sh | sudo bash
yum install crowdsec
From package (FreeBSD)
sudo pkg update
sudo pkg install crowdsec

From source
wget https://github.com/crowdsecurity/crowdsec/releases/latest/download/crowdsec-release.tgz
tar xzvf crowdsec-release.tgz
cd crowdsec-v* && sudo ./wizard.sh -i
About the CrowdSec project Crowdsec is an open-source, lightweight software, detecting peers with aggressive behaviors to prevent them from accessing your systems. Its user friendly (https://www.kitploit.com/search/label/User%20Friendly) design and assistance offers a low technical barrier of entry and nevertheless a high security gain. Processing is done in 4 steps:
Once an unwanted behavior is detected, deal with it through a bouncer (https://hub.crowdsec.net/browse/#bouncers). The aggressive IP, scenario triggered and timestamp are sent for curation, to avoid poisoning (https://www.kitploit.com/search/label/Poisoning) & false positives. (This can be disabled). If verified, this IP is then redistributed to all CrowdSec users running the same scenario.
Outnumbering hackers (https://www.kitploit.com/search/label/Hackers) all together
By sharing the threat they faced, all users are protecting each-others (hence the name Crowd-Security). Crowdsec is designed for modern infrastructures, with its "Detect Here, Remedy There" approach, letting you analyse logs coming from several sources in one place and block threats at various levels (applicative, system, infrastructural) of your stack. CrowdSec ships by default with scenarios (brute force, port scan, web scan, etc.) adapted for most context, but you can easily extend it by picking more of them from the HUB (https://hub.crowdsec.net/). It is also easy to adapt an existing one or create one yourself.
What it is not CrowdSec is not a SIEM, storing your logs (neither locally nor remotely). Your data are analyzed locally and forgotten. Signals sent to the curation platform are limited to the very strict minimum: IP, Scenario, Timestamp. They are only used to allow the system to spot new rogue IPs, rule out false positives or poisoning attempts.
Install it ! Crowdsec is available for various platforms : Use our debian repositories (https://doc.crowdsec.net/docs/getting_started/install_crowdsec) or the official debian packages (https://packages.debian.org/search?keywords=crowdsec&searchon=names&suite=stable&section=all) An image (https://hub.docker.com/r/crowdsecurity/crowdsec) is available for docker Prebuilt release packages (https://github.com/crowdsecurity/crowdsec/releases) are also available (suitable for amd64) You can as well build it from source (https://doc.crowdsec.net/docs/user_guides/building) Or look directly at installation documentation (https://doc.crowdsec.net/docs/getting_started/install_crowdsec) for other methods and platforms.

Download Crowdsec (https://github.com/crowdsecurity/crowdsec)
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking Articles|Raj Chandel's BlogMSSQL for Pentester: Hashing
In this article, we will learn about multiple ways to get hashes of MSSQL users. Every version of MSSQL has different hashes. We have performed our practical on SQL Server 2016 version. Once we find the hashes, we will use JohnTheRipper to crack them.

Table of Content<o:p

·         Introduction to Hashing in SQL server<o:p

·         CLI<o:p

·         Nmap<o:p

·         PowerUpSQL<o:p

·         JohnTheRipper<o:p

Introduction to Hashing in SQL server<o:p




A hash produced in SQL server looks somewhat like the following:<o:p










CLI<o:p

To get hashes of all the users, use the following query:<o:p

SELECT * FROM sys.sql_logins<o:p

<o:p 







To the hashes of a particular user, use the following query:<o:p

select name,password_hash from sys.sql_logins where name='sa'<o:p

<o:p 







As you can see, both the above queries have given us the desired result. <o:p

Nmap<o:p

We can also retrieve the hashes remotely using Nmap. And the command to do so is the following:<o:p

nmap -p1433 --script ms-sql-dump-hashes --script-args mssql.username=sa,mssql.password=Password@1 192.168.1.146<o:p

<o:p 







And as the result of the above command, we have our hash. <o:p

PowerUpSQL<o:p

To the hashes remotely, PowerUpSQL provides a simple command which is as follows:<o:p

Import-Module .\PowerUpSQL.ps1<o:p

Get-SQLServerPasswordHash -username sa -Password Password@1  -instance WIN-P83OS778EQK\SQLEXPRESS -Verbose<o:p

<o:p 







These are the multiple ways to retrieve the hashes for the MSSQL server, both remotely and locally. <o:p

JohnTheRipper<o:p

Now that we have acquired the hashes, all we have to do is crack them. For this, we will use the almighty password cracker tool, i.e., JohnTheRipper. And to de-hash the password hash, use the following command:<o:p

john --format=mssql12 --wordlist=pass hash<o:p

<o:p 



And the result shows us that the password is Password@1 which is accurate. SO, this way, one can dump and then crack the MSSQL hashes.<o:p

<o:p 
Hacking Articles Tips Tricks Videos Tutorials
Photo
KitPloit - PenTest Tools!CrowdSec - An Open-Source Massively Multiplayer Firewall Able To Analyze Visitor Behavior And Provide An Adapted Response To All Kinds Of Attacks





CrowdSec is a free, modern & collaborative behavior detection engine, coupled with a global IP reputation network. It stacks on fail2ban's philosophy but is IPV6 compatible and 60x faster (Go vs Python), uses Grok patterns to parse logs and YAML scenario to identify behaviors. CrowdSec is engineered for modern Cloud / Containers / VM based infrastructures (by decoupling detection and remediation). Once detected you can remedy threats with various bouncers (firewall block, nginx http 403, Captchas, etc.) while the aggressive IP can be sent to CrowdSec for curation before being shared among all users to further improve everyone's security. See FAQ or read bellow for more.



2 mins install

Installing it through the Package system of your OS is the easiest way to proceed. Otherwise, you can install it from source.

From package (Debian)

curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash
sudo apt-get update
sudo apt-get install crowdsec


From package (rhel/centos/amazon linux)

curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.rpm.sh | sudo bash
yum install crowdsec


From package (FreeBSD)

sudo pkg update
sudo pkg install crowdsec


From source

wget https://github.com/crowdsecurity/crowdsec/releases/latest/download/crowdsec-release.tgz
tar xzvf crowdsec-release.tgz
cd crowdsec-v* && sudo ./wizard.sh -i



About the CrowdSec project

Crowdsec is an open-source, lightweight software, detecting peers with aggressive behaviors to prevent them from accessing your systems. Its user friendly design and assistance offers a low technical barrier of entry and nevertheless a high security gain.

Processing is done in 4 steps:






Once an unwanted behavior is detected, deal with it through a bouncer. The aggressive IP, scenario triggered and timestamp are sent for curation, to avoid poisoning & false positives. (This can be disabled). If verified, this IP is then redistributed to all CrowdSec users running the same scenario.

Outnumbering hackers all together

By sharing the threat they faced, all users are protecting each-others (hence the name Crowd-Security). Crowdsec is designed for modern infrastructures, with its "Detect Here, Remedy There" approach, letting you analyse logs coming from several sources in one place and block threats at various levels (applicative, system, infrastructural) of your stack.

CrowdSec ships by default with scenarios (brute force, port scan, web scan, etc.) adapted for most context, but you can easily extend it by picking more of them from the HUB. It is also easy to adapt an existing one or create one yourself.


What it is not

CrowdSec is not a SIEM, storing your logs (neither locally nor remotely). Your data are analyzed locally and forgotten.

Signals sent to the curation platform are limited to the very strict minimum: IP, Scenario, Timestamp. They are only used to allow the system to spot new rogue IPs, rule out false positives or poisoning attempts.


Install it !

Crowdsec is available for various platforms :

* Use our debian repositories or the official debian packages
* An image is available for docker
* Prebuilt release packages are also available (suitable for amd64)
* You can as well build it from source

Or look directly at installation documentation for other methods and platforms.



Download Crowdsec

___________________________
@hacking_Attack
@Hacking_Video
Hacking on Medium
8 Questions you need to ask your kids about online safety


Do you want to get your kids talking about cyber security? Try asking them the following question. 
You will need to squeeze an answer, it…

Continue reading on Medium »