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
Exploiting Password Reset Poisoning

for account takeover and max bounty!Continue reading on InfoSec Write-ups »
Read more...
OTP Bypass via response manipulation

Hello Hunters, today I'm going tell about my one of the finding in which I'm able to bypass the OTP page. So let’s begin.Continue reading on Medium »
Read more...
https://a.thumbs.redditmedia.com/VMkC7Vfh7jm-J3ijCWE08wnMSqb7arVGtKlxd0v8HG8.jpg There's a JavaScript challenge in DVWA where a page asking us to submit the word "success" to win.

I did change the word "ChangeMe" to "success", however the page return "Invalid token" message.

https://preview.redd.it/qti1gxttpcz71.png?width=550&format=png&auto=webp&s=a5736e25b8aafe00dc9a557fb5e66f725f521b93

Here's how the request looks like in Burp
POST /vulnerabilities/javascript/ HTTP/1.1 Host: localhost Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://localhost/vulnerabilities/javascript/ Content-Type: application/x-www-form-urlencoded Content-Length: 65 DNT: 1 Connection: close Cookie: PHPSESSID=c8f9p19iv3b8s0cm58d7pm1e25; security=low Upgrade-Insecure-Requests: 1 token=8b479aefbd90795395b3e7089ae0dc09&phrase=success&send=Submit
I understand that Cookie remains the same as I was on the same session.

Question 1: What about token? Is that normal to have similar token too no matter what phrase do you change?

Question 2: Is this consider as security vulnerability?

submitted by /u/w0lfcat
[link] [comments]
hacking: security in practice
What are your go to initial nmap options?

After doing one of the recent tryhackme rooms where you had to do your scan to avoid being detected by the IDS it got me thinking about my initial scan options.

For whatever reason I used to always use -sV -O or -sS. Both of course set off the IDS alarm. I ended up using -f -sN to avoid detection.

Where do you guys start? I’d assume one wouldn’t want to fire off the bat signal right away. Or do you not really care and maybe use a vpn or something in case you get blocked using a louder scan.

submitted by /u/space_wiener
[link] [comments]
AzureHunter - A Cloud Forensics Powershell Module To Run Threat Hunting Playbooks On Data From Azure And O365
http://www.kitploit.com/2021/11/azurehunter-cloud-forensics-powershell.html
A Powershell module to run threat hunting (https://www.kitploit.com/search/label/Threat%20Hunting) playbooks on data from Azure and O365 for Cloud Forensics purposes.
Getting Started

1. Check that you have the right O365 Permissions
The following roles are required in Exchange Online, in order to be able to have read only access to the UnifiedAuditLog: View-Only Audit Logs or Audit Logs.These roles are assigned by default to the Compliance Management role group in Exchange Admin Center.NOTE: if you are a security analyst, incident responder or threat hunter and your organization is NOT giving you read-only access to these audit logs, you need to seriously question what their detection and response strategy is!More information:How to search the Audit Log using the GUI (https://docs.microsoft.com/en-us/microsoft-365/compliance/search-the-audit-log-in-security-and-compliance?view=o365-worldwide#search-the-audit-log)Manage role groups in Exchange Online (https://docs.microsoft.com/en-us/office365/securitycompliance/search-the-audit-log-in-security-and-compliance)How to enable the UnifiedAuditLog (https://gcits.com/knowledge-base/enabling-unified-audit-log-delegated-office-365-tenants-via-powershell/)NOTE: your admin can verify these requirements (https://www.kitploit.com/search/label/Requirements) by running Get-ManagementRoleEntry "*\Search-UnifiedAuditLog" in your Azure tenancy cloud shell or local powershell instance connected to Azure.
2. Ensure ExchangeOnlineManagement v2 PowerShell Module is installed
Please make sure you have ExchangeOnlineManagement (EXOv2) installed. You can find instructions on the web or go directly to my little KB on how to do it at the soc analyst scrolls (https://docs.quasarops.com/en/public/the-soc-analyst-scrolls/powershell#useful-powershell-modules)
3. Either Clone the Repo or Install AzureHunter from the PSGallery

3.1 Cloning the Repo
Clone this repositoryImport the module Import-Module .\source\AzureHunter.psd1
3.2 Install AzureHunter from the PSGallery
All you need to do is:Install-Module AzureHunter -Scope CurrentUser
Import-Module AzureHunter
What is the UnifiedAuditLog?
The unified audit log contains user, group, application, domain, and directory activities performed in the Microsoft 365 admin center or in the Azure management portal. For a complete list of Azure AD events, see the list of RecordTypes (https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema#auditlogrecordtype).The UnifiedAuditLog is a great source of cloud forensic information since it contains a wealth of data on multiple types of cloud operations like ExchangeItems, SharePoint, Azure AD, OneDrive, Data Governance, Data Loss Prevention, Windows Defender (https://www.kitploit.com/search/label/Windows%20Defender) Alerts and Quarantine events, Threat intelligence (https://www.kitploit.com/search/label/Intelligence) events in Microsoft Defender for Office 365 and the list goes on and on!
AzureHunter Data Consistency Checks
AzureHunter implements some useful logic to ensure that the highest log density is mined and exported from Azure & O365 Audit Logs. In order to do this, we run two different operations for each cycle (batch):Automatic Window Time Reduction: this check ensures that the time interval is reduced to the optimal interval based on the ResultSizeUpperThreshold parameter which by default is 20k. This means, if the amounts of logs returned within your designated TimeInterval is higher than ResultSizeUpperThreshold, then an automatic adjustment will take place.Sequential Data Check: are returned Record Indexes sequentially valid?
Example 1 | Run search on Azure UnifiedAuditLog and extract records to CSV file (default behaviour)
Search-AzureCloudUnifiedLog -StartDate "2020-03-06T10:00:00" -EndDate "2020-06-09T12:40:00" -TimeInterval 12 -AggregatedResultsFlushSize 5000 -VerboseThis command will:Search data between the dates in StartDate and EndDateImplement a window of 12 hours between these dates, which will be used to sweep the entire length of the time interval (StartDate --> EndDate). This window will be automatically reduced and adjusted to provide the maximum amount of records within the window, thus ensuring higher quality of output. The time window slides sequentially until reaching the EndDate.The AggregatedResultsFlushSize parameter speficies the batches of records that will be processed by downstream playbooks. We are telling AzureHunter here to process the batch of records once the total amount reaches 5000. This way, you can get results on the fly, without having to wait for hours until a huge span of records is exported to CSV files.
Example 2 | Run Hunting Playbooks on CSV File
We assume that you have exported UnifiedAuditLog records to a CSV file, if so you can then do:$RecordArray = Import-Csv .\my-exported-records.csv
Invoke-HuntAzureAuditLogs -Records $RecordArray -Playbooks 'AzHunter.Playbook.LogonAnalyser'You can run more than one playbook by separating them via commas, they will run sequentially:$RecordArray = Import-Csv .\my-exported-records.csv
Invoke-HuntAzureAuditLogs -Records $RecordArray -Playbooks 'AzHunter.Playbook.Exporter', 'AzHunter.Playbook.LogonAnalyser'
Why?
Since the aftermath of the SolarWinds Supply Chain Compromise many tools have emerged out of deep forges of cyberforensicators, carefully developed by cyber blacksmith ninjas. These tools usually help you perform cloud forensics in Azure. My intention with AzureHunter is not to bring more noise to this crowded space, however, I found myself in the need to address some gaps that I have observed in some of the tools in the space (I might be wrong though, since there is a proliferation of tools out there and I don't know them all...):Azure cloud forensic tools don't usually address the complications of the Powershell API for the UnifiedAuditLog. This API is very unstable and inconsistent when exporting large quantities of data. I wanted to develop an interface that is fault tolerant (enough) to address some of these issues focusing solely on the UnifiedAuditLog since this is the Azure artefact that contains the most relevant and detailed activity logs for users, applications and services.Azure cloud forensic tools don't usually put focus on developing extensible Playbooks. I wanted to come up with a simple framework that would help the community create and share new playbooks to extract different types of meaning off the same data.If, however, you are looking for a more feature rich and mature application for Azure Cloud Forensics I would suggest you check out the excellent work performed by the cyber security experts that created the following applications:CISA's Sparrow (https://github.com/cisagov/Sparrow)HAWK (https://github.com/T0pCyber/hawk)CrowdStrike Reporting Tool for Azure CRT (https://github.com/CrowdStrike/CRT)I'm sure there is a more extensive list of tools, but these are the ones I could come up with. Feel free to suggest some more.
Why Powershell?
I didn't want to re-invent the wheelYes the Powershell interface to Azure's UnifiedAuditLog is unstable, but in terms of time-to-production it would have taken me an insane amount of hours to achieve the same thing writing a whole new interface in languages such as .NET, Golang or Python to achieve the same objectives. In the meanwhile, the world of Cyber Defense and Response does not wait!
TODO