Hacking Articles Tips Tricks Videos Tutorials
471 subscribers
65.9K 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
KitPloit - PenTest Tools!
ADFSRelay - Proof Of Concept Utilities Developed To Research NTLM Relaying Attacks Targeting ADFS

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAJL9T6p-7s74HZMRbDuo3SVx6P1dmNAPIXOWfZNdAnSqc_xvCzJoAvUZFhTkm53pkK72GV1wL7lOVN3SuaUuve7lJr_XOoU-y103LkbSPWy1vjDwg08plQp_eXYaPCOdM97LkgLCIGNAT4b8p4BvdW10kr2IrvENd-EUmVVqdQ7CP8nryB9xe6agrGQ/s16000/ADFSRelay.png This repository includes two utilities NTLMParse and ADFSRelay. NTLMParse is a utility for decoding base64-encoded NTLM messages and printing information about the underlying properties and fields within the message. Examining these NTLM messages is helpful when researching the behavior of a particular NTLM implementation. ADFSRelay is a proof of concept utility developed while researching the feasibility of NTLM relaying attacks targeting the ADFS service. This utility can be leveraged to perform NTLM relaying attacks targeting ADFS. We have also released a blog post discussing ADFS relaying attacks in more detail [1]. NTLMParse UsageTo use the NTLMParse utility you simply need to pass a Base64 encoded message to the application and it will decode the relevant fields and structures within the message. The snippet given below shows the expected output of NTLMParse when it is invoked: ➜ ~ pbpaste | NTLMParse
(ntlm.AUTHENTICATE_MESSAGE) {
Signature: ([]uint8) (len=8 cap=585) {
00000000 4e 54 4c 4d 53 53 50 00 |NTLMSSP.|
},
MessageType: (uint32) 3,
LmChallengeResponseFields: (struct { LmChallengeResponseLen uint16; LmChallengeResponseMaxLen uint16; LmChallengeResponseBufferOffset uint32; LmChallengeResponse []uint8 }) {
LmChallengeResponseLen: (uint16) 24,
LmChallengeResponseMaxLen: (uint16) 24,
LmChallengeResponseBufferOffset: (uint32) 160,
LmChallengeResponse: ([]uint8) (len=24 cap=425) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 |........|
}
},
NtChallengeResponseFields: (struct { NtChallengeResponseLen uint16; NtChallengeResponseMaxLen uint16; NtChallengeResponseBufferOffset uint32; NtChallengeResponse []uint8; NTLMv2Response ntlm.NTL Mv2_RESPONSE }) {
NtChallengeResponseLen: (uint16) 384,
NtChallengeResponseMaxLen: (uint16) 384,
NtChallengeResponseBufferOffset: (uint32) 184,
NtChallengeResponse: ([]uint8) (len=384 cap=401) {
00000000 30 eb 30 1f ab 4f 37 4d 79 59 28 73 38 51 19 3b |0.0..O7MyY(s8Q.;|
00000010 01 01 00 00 00 00 00 00 89 5f 6d 5c c8 72 d8 01 |........._m\.r..|
00000020 c9 74 65 45 b9 dd f7 35 00 00 00 00 02 00 0e 00 |.teE...5........|
00000030 43 00 4f 00 4e 00 54 00 4f 00 53 00 4f 00 01 00 |C.O.N.T.O.S.O...|
00000040 1e 00 57 00 49 00 4e 00 2d 00 46 00 43 00 47 00 |..W.I.N.-.F.C.G.|
Below is a sample NTLM AUTHENTICATE_MESSAGE message that can be used for testing: TlRMTVNTUAADAAAAGAAYAKAAAACAAYABuAAAABoAGgBYAAAAEAAQAHIAAAAeAB4AggAAABAAEAA4AgAAFYKI4goAYUoAAAAPqfU7N7/JSXVfIdKvlIvcQkMATwBOAFQATwBTAE8ALgBMAE8AQwBBAEwAQQBDAHIAbwBzAHMAZQByAEQARQBTAEsAVABPAFAALQBOAEkARAA0ADQANQBNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADDrMB+rTzdNeVkoczhRGTsBAQAAAAAAAIlfbVzIctgByXRlRbnd9zUAAAAAAgAOAEMATwBOAFQATwBTAE8AAQAeAFcASQBOAC0ARgBDAEcAVQA0AEcASABPADAAOAA0AAQAGgBDAE8ATgBUAE8AUwBPAC4ATABPAEMAQQBMAAMAOgBXAEkATgAtAEYAQwBHAFUANABHAEgATwAwADgANAAuAEMATwBOAFQATwBTAE8ALgBMAE8AQwBBAEwABQAaAEMATwBOAFQATwBTAE8ALgBMAE8AQwBBAEwABwAIAIlfbVzIctgBBgAEAAIAAAAIADAAMAAAAAAAAAABAAAAACAAABQaOHb4nG5F2JL1tA5kL+nKQXJSJLDWljeBv+/XlPXpCgAQAON+EDXYnla0bjpwA8gfVEgJAD4ASABUAFQAUAAvAHMAdABzAC4AYwBvAG4AdABvAHMAbwBjAG8AcgBwAG8AcgBhAHQAaQBvAG4ALgBjAG8AbQAAAAAAAAAAAKDXom0m65knt1NeZF1ZxxQ=ADFSRelay UsageThe single required argument for ADFSRelay is the URL of the ADFS server to target for an NTLM relaying attack. Three optional arguments are -debug to enable debugging mode, -port to define the port the service should listen on, and -he[...]
Hacking Articles Tips Tricks Videos Tutorials
KitPloit - PenTest Tools! ADFSRelay - Proof Of Concept Utilities Developed To Research NTLM Relaying Attacks Targeting ADFS https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAJL9T6p-7s74HZMRbDuo3SVx6P1dmNAPIXOWfZNdAnSqc_xvCzJoAvUZFhTkm53pkK72GV…
lp to display the help menu. An example help menu is given below: ➜ ~ ADFSRelay -h
Usage of ADFSRelay:
-debug
Enables debug output
-help
Show the help menu
-port int
The port the HTTP listener should listen on (default 8080)
-targetSite string
The ADFS site to target for the relaying attack (e.g. https://sts.contoso.com)
➜ ~
References[1] https://www.praetorian.com/blog/relaying-to-adfs-attacks/ Download ADFSRelay
Hacking Articles Tips Tricks Videos Tutorials
Photo
Kali Linux Tutorials
Burp Suite Tutorial – A Web Application Penetration Testing Tool – Beginners Guide

In this Burp Suite Tutorial, we are going to elaborately describe the Burp Suite tool and its features that are bundled in a single suite made for Web Application Security assessment as well as Penetration testing.

It’s a java executable and hence it’s cross-platform. Kali Linux comes with Burp Suite free edition installed. There is also a professional version available.

The main features of Burp Suite are that it can function as an intercepting proxy. Burp Suite intercepts the traffic between a web browser and the web server.

This Burp Suite Tutorial helps you to understand the tools associated with the Burp Suite and how it is essentially used in the web penetration testing industry. https://s3.amazonaws.com/one-month-rails-production/assets/images/000/000/081/original/image21.png?1412886422 Other Features of Burp Suite:* Application-Aware Spider: Used for spidering/crawling a given scope of pages.
* Scanner: Automatically scans for vulnerabilities just like any other automated scanners
* Intruder: Used to perform attacks & brute-forces on pages in a highly customizable manner.
* Repeater: Used for manipulating and resending individual requests.
* Sequencer: Used mainly for testing/fuzzing session tokens.
* Extensibility, allowing you to easily write your own plugins, to perform complex and highly customized tasks within Burp.
* Comparer & Decoder used for misc purposes that might come along the way when you conduct a Web Security test Burp Suite Tutorial – Spidering a WebsiteA web crawler is a bot program that systematically browses the pages of a website for the purpose of indexing. Precisely a web crawler maps the structure of a website by browsing all its inner pages. The crawler is also referred to as a spider or automatic indexer.

Burp Suite has got its own spider called the burpspider. The burp spider is a program that crawls into all the pages of a target specified in the scope. Before starting the burp spider, the Burp suite has to be configured to intercept the HTTP traffic. Burp Suite Interface & OptionsLike any other GUI/Windows tool, Burp Suite contains a standard menu bar, 2 rows of tabs & different set of panels as seen below. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp1-Copy.png <figcaptionBurp suite Window

The above figure shows the options & details about the target. In the above figure there are mainly 4 sections. They are described against the corresponding numbers as follows:

1. Tool & Options selector Tabs – Select between Various tools & settings of Burp Suite
2. Sitemap View – Displays the sitemap once spider has started
3. Requests Queue – Displays the requests being made
4. Request/Response Details – The HTTP requests made & the responses from the servers. Burp Suite Tutorial Lab 1 : Spidering a websiteSpidering is a major part of recon while performing Web security tests. It helps the pentester to identify the scope & architecture of the web application. As described earlier, Burp Suite has its own spider called the burp spider which can crawl into a website.

Scenario: Attacker – Kali Linux VM, IP = 192.168.0.105

Target – OWASP Broken Web Application VM, IP = 192.168.0.160

Download OWASPBWA Here Burp Suite Tutorial – Step 1: Setup ProxyFirst, this Burp Suite Tutorial helps to check details under the proxy tab in the Options sub-tab. Ensure IP is localhost IP & port is 8080. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp4c.png <figcaptionProxy Options & Information

Also, ensure that Intercept is ON in the Intercept Sub-Tab http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp4b.png <figcaptionTurning ON intercept

Then on IceWeasel/Firefox, Goto Options > Preferences > Network > Connection Settings.

Choose Manual Proxy Configuration http://kalilinuxtuto[...]
Hacking Articles Tips Tricks Videos Tutorials
Kali Linux Tutorials Burp Suite Tutorial – A Web Application Penetration Testing Tool – Beginners Guide In this Burp Suite Tutorial, we are going to elaborately describe the Burp Suite tool and its features that are bundled in a single suite made for Web…
rials.com/wp-content/uploads/2015/08/burp2.png <figcaptionSetting Proxy in IceWeasel

If you want, you can try installing proxy add-ons. Here is one such.

Install the proxy selector from add-ons page and go to preferences http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp3.png <figcaptionSetting Up Addons

Goto Manage Proxies & add a new proxy filling out the relevant information. It’s simple. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp4.png <figcaptionConfiguring Addon Proxy

Click the Proxy Selector button at the Top right & select the Proxy you just created. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp4A.png <figcaptionSetting Up Addons Burp Suite Tutorial – Step 2: Getting Content into Burp SuiteAfter you have set up the proxy, go to the target normally by entering the URL in the address bar. You can notice that the page will not be loading up. This is because Burp Suite is intercepting the connection. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp5.png <figcaptionPage Loading

Meanwhile, in Burp Suite, you can see the request details. Click forward to forward the connection. Then you can see that the page has loaded up in the browser. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp6.png <figcaptionburp intercepting http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp7.png <figcaptionPage Loaded

Coming back to Burp Suite, you can see that all sections are populated. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp8.png <figcaptionSitemap, Requests & Request/Response Details Step 3: Scope Selection & Starting SpiderIn this Burp Suite Tutorial, Now narrow down the target as you want. Here the target/Mutillidae is selected. Right-click the Mutillidae from the sitemap & select Spider from the Here option http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp9.png <figcaptionSelecting the target

After the spider starts, You get a prompt as shown in the following figure. It’s a login form. If you know the details, fill in as needed & thus the spider wil be able to crawl from the inside also. You can skip this step by pressing the Ignore Form button. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp10.png <figcaptionSubmitting a Login form Step 4: Manipulating DetailsNow you can see as the spider runs, the tree inside of the Mutillidae branch gets populated. Also, the requests made are shown in the queue and the details are shown in the Request tab. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp11.png <figcaptionMore details get Populated

Move on to different Tabs and see all the underlying information. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp12.png <figcaptionInteresting Cookie information http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp14.png <figcaptionResponse Details from the target http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp15.png <figcaptionThe page source

Finally, check if the spider is finished by viewing the Spider tab. http://kalilinuxtutorials.com/wp-content/uploads/2015/08/burp16.png <figcaptionSpider Status

This Burp Suite Tutorial is a very basic & starting point of a web security test. Spidering is an important part of the recon during the test and by clearly executing this, we can understand the architecture of the target site.
The vulnerability was found on the website which is used to pay Challan online to Ahmedabad Traffic Police.Continue reading on Medium » (https://medium.com/@pavansaxena/payment-gateway-bypass-on-government-domain-8e0135c34185?source=rss------bug_bounty-5)
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
5 Trends about Cybersecurity Jobs for 2023

https://cdn-images-1.medium.com/max/900/1*lrdsO37tB01kDqU1yEzHKg.jpeg
Hi reader. Today I’m going to give my vision about how I see the cybersecurity job posture for the next year, based on the experience I’ve…

Continue reading on Medium »
10 Practical Recon & vulnerability Scanners for bug hunters (part two)

Hello again friends, I’m Koroush (aka whiteOwl). I hope you enjoy the last part, in this part, I introduce you to several active recon…Continue reading on Medium »
Read more...