Basic HTML

Sunday, June 7, 2020

Recox - Master Script For Web Reconnaissance


The script aims to help in classifying vulnerabilities in web applications. The methodology RecoX is arising can spot weaknesses other than OWASP top ten. The script presents information against the target system. It gathers the information recursively over each subdomain, and IP addr for a sophisticated attack. RecoX automates several functions and saves a significant amount of time that requires throughout a manual penetration test.
For more detail please read this document.

Usage
git clone https://github.com/samhaxr/recox
chmod +x recox.sh
./recox.sh
Paste the below command to run the tool from anywhere in the terminal.
mv recox.sh /usr/lcoal/bin/recox
The deep scanner comprises many check-ups including subdomain takeover, A record, passive scan, active scan, CORS misconfiguration, zone transfer test, and web content discovery.


Tutorial


Credit
Ruhr University Bochum - Chair for Network and Data Security , David García, Jobert Abma, antichown




via KitPloit

Read more


>>>ဆက္ဖတ္ရန္>>> >>

HiddenWasp Linux Malware Backdoor Samples



Here are Hidden Wasp Linux backdoor samples. 

Enjoy



Reference




Intezer HiddenWasp Malware Stings Targeted Linux Systems 




Download



File informatio


8914fd1cfade5059e626be90f18972ec963bbed75101c7fbf4a88a6da2bc671b
8f1c51c4963c0bad6cf04444feb411d7
 shell

f321685342fa373c33eb9479176a086a1c56c90a1826a0aef3450809ffc01e5d
52137157fdf019145d7f524d1da884d7
elf

f38ab11c28e944536e00ca14954df5f4d08c1222811fef49baded5009bbbc9a2
ba02a964d08c2afe41963bf897d385e7
shell

e9e2e84ed423bfc8e82eb434cede5c9568ab44e7af410a85e5d5eb24b1e622e3
cbcda5c0dba07faced5f4641aab1e2cd
 elf shared-lib

d66bbbccd19587e67632585d0ac944e34e4d5fa2b9f3bb3f900f517c7bbf518b
2b13e6f7d9fafd2eca809bba4b5ea9a6
64bits elf shared-lib

2ea291aeb0905c31716fe5e39ff111724a3c461e3029830d2bfa77c1b3656fc0
568d1ebd8b6fb17744d3c70837e801b9
shell

8e3b92e49447a67ed32b3afadbc24c51975ff22acbd0cf8090b078c0a4a7b53d
33c3f807caea64293add29719596f156
 shell

609bbf4ccc2cb0fcbe0d5891eea7d97a05a0b29431c468bf3badd83fc4414578
71d78c97eb0735ec6152a6ff6725b9b2
tar-bundle gzip contains-elf

d596acc70426a16760a2b2cc78ca2cc65c5a23bb79316627c0b2e16489bf86c0
6d1cd68384de9839357a8be27894182b
 tar-bundle gzip

0fe1248ecab199bee383cef69f2de77d33b269ad1664127b366a4e745b1199c8
5b134e0a1a89a6c85f13e08e82ea35c3
64bits elf 

Related links


  1. Pentest Basics
  2. Pentesterlab
  3. Pentest Iso
  4. Pentest Tools For Windows
  5. Hacking 3Ds
  6. Hacker Types
  7. Hacker
>>>ဆက္ဖတ္ရန္>>> >>

Pentesting 101: Fingerprinting Continued

by Hisomeru

Since we are trying to paint a picture of the target network, saving the nmap output would help. The command line switch "-oA" will output the results of a nmap scan to XML, a grepable format and plain text like you'd see on the screen. Also, since we are trying to gather as much information as possible, nmap should be used to scan all ports, pull back the banners of the services, get the version information of the service and finally the operating system information.

 There is a lot of information in the above screenshot. Using the "-v" flag gives a verbose output. Since we saved the output of nmap, catting the file "target-scan.nmap" will show a more human readable scan output.

 You'll notice that the nmap file shows when the scan was run as well as the nmap options. This is great information that adds to the target information log. Breaking down the command line switches are; "-p-" which is shorthand for scan all ports, 0-65535, "-sV" to do a version scan of the services, "-O" to enable operating system detection, "-oA target-scan" for saving the scan to a file, "-v" for the verbose messages seen in nmap screenshot 2, and "-A" to enable operating system version detection and a traceroute. The nmap scan output shows OpenSSH is running on port 22 and the version is 6.66.1p1 and the Apache web server, version 2.4.7, is running on port 80. It appears that the operating system is an embedded Linux called DD-WRT running on an Actiontec MI424WR-GEN3I WAP. This information can be used as a starting block to finding an exploit against these services.

 Extending nmap's feature set is running scripts through the nmap scripting engine. Below is an example of using an nmap script to grab the banner of the open ports. Notice that ports 22 and 80 have human readable banners and ports 9929 and 31337 do not. Ordinarily these odd ports would be cause for more investigation but scanme.nmap.org is an example of how to use these tools and not a target for a penetration test.

Now that we have a detailed port scan, we can narrow down our fingerprinting to services we would like to investigate. Starting off with port 22, nmap showed that OpenSSH was running. Using an ssh scanner will provide more information about the service and if it contains any vulnerabilities. One such scanner is the simple "ssh_scan." ssh_scan is a simple program that enumerates the SSH service, shows authentication methods, encryption algorithms, and keys then prints its output to the screen in JSON format.

To gather information on a web server there are countless tools out there. One of those tools is called whatweb. Whatweb provides a simple output for the user about the targeted web server. It can also scan whole domains for web servers as well as the web server for various server features through the use of its 1800+ plugins.

Another tool in the arsenal of a penetration tester is Nikto. Nikto is a comprehensive web scanner that checks many different aspects of the server to include version information, subdomain enumeration and authentication, while also supportsing SSL. Nikto also lists vulnerabilities found in the scanned web server as well as references to more information about the vulnerabilities.

In the above screenshot you'll notice a scan done by nikto against the target web server. By default, nikto scans with all plugins. The options the web server is using, how busy it is and if it has many vulnerabilities can affect how long a nikto scan takes. Nikto will also pull back the "robots.txt" file if the server is hosting one. The robots.txt file can lead to other places to scan on a web server. Using the command line flag of "-o", we can send the output to a file and "-host" tells which host to scan. You'll notice in one of the lines near the top it says "use '-C all' to force check all possible dirs." This option allows nikto to scan for common directories found on web servers. In our example, using "-C all" takes a considerable amount of time and does not yield many results. There are other tools available to the penetration tester that can scan a web server for files and directories in a more efficient manner than nikto.

Gobuster is a multi-threaded web scanner that searches for directories and files. It is most commonly used to scan a web server for hidden directories via a provided wordlist. One of the more unique features of gobuster is that you can also use it to search for files by file extension. Gobuster uses HTTP status codes to identify if directories or files are present. Using gobuster can help uncover a login or administrative portal that isn't advertised on the main page.

In the above example of gobuster, we used a dir search to scan for hidden directories on the server using the wordlist provided. The command line flag of "-e" says to show the expanded URL instead of the normal output of "/index", etc. Catting the output file, we can see a cleaner output of what was found using gobuster. Depending on was found during the gobuster scan could be reason to look more into those hidden directories or files during a penetration test.

Next week we continue the Fingerprinting section of our pentetration testing series with hiding with fingerprinting.

Hisomeru is a contributing player in the infosec community. In Hisomeru's more than 15 years of experience, Hisormeru has managed IT security teams, developed custom tools and performed penetration tests. Cyber security is Hisomeru's passion and Hisomeru has taught many individuals cutting edge penetration testing techniques. Hisomeru's twitter is: https://twitter.com/Hisomeru



More articles
>>>ဆက္ဖတ္ရန္>>> >>