Tampilkan postingan dengan label script. Tampilkan semua postingan
Tampilkan postingan dengan label script. Tampilkan semua postingan

The Ultimate List of Hacking Scripts for Metasploit's Meterpreter

Welcome back, my hacker apprentices!
Metasploit framework is an incredible hacking and pentesting tool that every hacker worth their salt should be conversant and capable on.

In a previous post, I had provided you a cheat sheet of meterpreter commands. These commands are essential to running Metasploit's meterpreter, but in recent years, numerous hackers and security pros have developed scripts that we can run from the meterpreter that can be much more effective and malicious.
In this post, I will try to provide you the most complete list and description available anywhere on the web. You will want to bookmark this page too, as no one remembers all these scripts and it's likely you will want to return here at a later time to find a particular script for a particular hack.
Please note that new meterpreter scripts are being developed every day. This list attempts to provide you with a complete list of scripts as of this writing. If you find errors or typos, please feel free to post them here, so I will try correct them as soon as humanly possible.

Script Commands with Brief Descriptions

  • arp_scanner.rb - Script for performing an ARP's Scan Discovery.
  • autoroute.rb - Meterpreter session without having to background the current session.
  • checkvm.rb - Script for detecting if target host is a virtual machine.
  • credcollect.rb - Script to harvest credentials found on the host and store them in the database.
  • domain_list_gen.rb - Script for extracting domain admin account list for use.
  • dumplinks.rb - Dumplinks parses .lnk files from a user's recent documents folder and Microsoft Office's Recent documents folder, if present. The .lnk files contain time stamps, file locations, including share names, volume serial #s and more. This info may help you target additional systems.
  • duplicate.rb - Uses a meterpreter session to spawn a new meterpreter session in a different process. A new process allows the session to take "risky" actions that might get the process killed by A/V, giving a meterpreter session to another controller, or start a keylogger on another process.
  • enum_chrome.rb - Script to extract data from a chrome installation.
  • enum_firefox.rb - Script for extracting data from Firefox. enum_logged_on_users.rb - Script for enumerating current logged users and users that have logged in to the system. enum_powershell_env.rb - Enumerates PowerShell and WSH configurations.
  • enum_putty.rb - Enumerates Putty connections.
  • enum_shares.rb - Script for Enumerating shares offered and history of mounted shares.
  • enum_vmware.rb - Enumerates VMware configurations for VMware products.
  • event_manager.rb - Show information about Event Logs on the target system and their configuration.
  • file_collector.rb - Script for searching and downloading files that match a specific pattern.
  • get_application_list.rb - Script for extracting a list of installed applications and their version.
  • getcountermeasure.rb - Script for detecting AV, HIPS, Third Party Firewalls, DEP Configuration and Windows Firewall configuration. Provides also the option to kill the processes of detected products and disable the built-in firewall.
  • get_env.rb - Script for extracting a list of all System and User environment variables.
  • getfilezillacreds.rb - Script for extracting servers and credentials from Filezilla.
  • getgui.rb - Script to enable Windows RDP.
  • get_local_subnets.rb - Get a list of local subnets based on the host's routes.
  • get_pidgen_creds.rb - Script for extracting configured services with username and passwords.
  • gettelnet.rb - Checks to see whether telnet is installed.
  • get_valid_community.rb - Gets a valid community string from SNMP.
  • getvncpw.rb - Gets the VNC password.
  • hashdump.rb - Grabs password hashes from the SAM.
  • hostedit.rb - Script for adding entries in to the Windows Hosts file.
  • keylogrecorder.rb - Script for running keylogger and saving all the keystrokes.
  • killav.rb - Terminates nearly every antivirus software on victim.
  • metsvc.rb - Delete one meterpreter service and start another.
  • migrate - Moves the meterpreter service to another process.
  • multicommand.rb - Script for running multiple commands on Windows 2003, Windows Vistaand Windows XP and Windows 2008 targets.
  • multi_console_command.rb - Script for running multiple console commands on a meterpreter session.
  • multi_meter_inject.rb - Script for injecting a reverce tcp Meterpreter Payload into memory of multiple PIDs, if none is provided a notepad process will be created and a Meterpreter Payload will be injected in to each.
  • multiscript.rb - Script for running multiple scripts on a Meterpreter session.
  • netenum.rb - Script for ping sweeps on Windows 2003, Windows Vista, Windows 2008 and Windows XP targets using native Windows commands.
  • packetrecorder.rb - Script for capturing packets in to a PCAP file.
  • panda2007pavsrv51.rb - This module exploits a privilege escalation vulnerability in Panda Antivirus 2007. Due to insecure permission issues, a local attacker can gain elevated privileges.
  • persistence.rb - Script for creating a persistent backdoor on a target host.
  • pml_driver_config.rb - Exploits a privilege escalation vulnerability in Hewlett-Packard's PML Driver HPZ12. Due to an insecure SERVICE_CHANGE_CONFIG DACL permission, a local attacker can gain elevated privileges.
  • powerdump.rb - Meterpreter script for utilizing purely PowerShell to extract username and password hashes through registry keys. This script requires you to be running as system in order to work properly. This has currently been tested on Server 2008 and Windows 7, which installs PowerShell by default.
  • prefetchtool.rb - Script for extracting information from windows prefetch folder.
  • process_memdump.rb - Script is based on the paper Neurosurgery With Meterpreter.
  • remotewinenum.rb - This script will enumerate windows hosts in the target environment given a username and password or using the credential under which Meterpeter is running using WMI wmic windows native tool.
  • scheduleme.rb - Script for automating the most common scheduling tasks during a pentest. This script works with Windows XP, Windows 2003, Windows Vista and Windows 2008.
  • schelevator.rb - Exploit for Windows Vista/7/2008 Task Scheduler 2.0 Privilege Escalation. This script exploits the Task Scheduler 2.0 XML 0day exploited by Stuxnet.
  • schtasksabuse.rb - Meterpreter script for abusing the scheduler service in Windows by scheduling and running a list of command against one or more targets. Using schtasks command to run them as system. This script works with Windows XP, Windows 2003, Windows Vista and Windows 2008.
  • scraper.rb - The goal of this script is to obtain system information from a victim through an existing Meterpreter session.
  • screenspy.rb - This script will open an interactive view of remote hosts. You will need Firefox installed on your machine.
  • screen_unlock.rb - Script to unlock a windows screen. Needs system privileges to run and known signatures for the target system.
  • screen_dwld.rb - Script that recursively search and download files matching a given pattern.
  • service_manager.rb - Script for managing Windows services.
  • service_permissions_escalate.rb This script attempts to create a service, then searches through a list of existing services to look for insecure file or configuration permissions that will let it replace the executable with a payload. It will then attempt to restart the replaced service to run the payload. If that fails, the next time the service is started (such as on reboot) the attacker will gain elevated privileges.
  • sound_recorder.rb - Script for recording in intervals the sound capture by a target host microphone.
  • srt_webdrive_priv.rb - Exploits a privilege escalation vulnerability in South River Technologies WebDrive.
  • uploadexec.rb - Script to upload executable file to host.
  • virtualbox_sysenter_dos - Script to DoS Virtual Box.
  • virusscan_bypass.rb - Script that kills Mcafee VirusScan Enterprise v8.7.0i+ processes.
  • vnc.rb - Meterpreter script for obtaining a quick VNC session.
  • webcam.rb - Script to enable and capture images from the host webcam.
  • win32-sshclient.rb - Script to deploy & run the "plink" commandline ssh-client. Supports only MS-Windows-2k/XP/Vista Hosts.
  • win32-sshserver.rb - Script to deploy and run OpenSSH on the target machine.
  • winbf.rb - Function for checking the password policy of current system. This policy may resemble the policy of other servers in the target environment.
  • winenum.rb - Enumerates Windows system including environment variables, network interfaces, routing, user accounts, etc
  • wmic.rb - Script for running WMIC commands on Windows 2003, Windows Vista and Windows XP and Windows 2008 targets.
Share:
Read More
, ,

LE CHAT Chat-Script 2.0



Overview

LE CHAT is a simple, yet highly customisable webchat and should work with virtually any browser. Only frames and HTML/CSS are used (frames and CSS optional even), no cookies, no JavaScript and no plugins are required. The server just needs to support Perl CGI-scripts, with standard modules installed. (Some of the optional CAPTCHA-modules will require a bit more though.)

First, a big shout-out to all the helpful people, chat admins and developers out there who have used and improved LE CHAT, even ported it to PHP. I never imagined that my little script would have such an impact and so many good things would come from it. You guys are great! :-)
Many thanks for all your feedback! There's still a lot on my TODO-list and I'm not running out of great ideas anytime soon. Of course I can't implement each and every of your ideas, but I'll surely consider the good things that stick. I'm very conservative with features and I want to do them right, so I'm not rushing out anything before it's bullet-proof (as good as possible). I rather like to provide a stable and secure base to build upon.
It's great that so many of you experiment with new features and try a lot of new things. Keep up the good work!
A special thank you goes to my trusted group of testers who helped me a lot and had to put up with my mood swings at times. Sorry for that and thanks again for all your help, guys! ;-)

Features

  • Easy setup. Once the script is running on the server, all administration and configuration is done in the browser.
  • Messages and appearance are completely customisable with HTML and CSS.
  • Private messages (whispers) to single nicks, registered members, or staff only.
  • Adjustable text colour, font, refresh time and input box size for members.
  • Easy administration from within the chat for moderators and admins.
  • Easy backup and restore of member data and configuration with copy & paste.
  • Built-in language editor. Easily localise your chat. (If you do, please share!)
    You can also use it to change any text selectively if you don't like my wording. ;-)
  • Lightweight on the server, works fine with restricted resources (e.g. free hosting).
  • Automatic referrer-safe hotlinks from URLs to prevent session-leakage (built-in link redirector).
  • Script can be installed separately on another server as pure link redirector, to protect original chat URL from leaking.
  • Content filters: Custom text replacing and optional automatic kicking of chatters.
  • Customisable browser icon (favicon).

What's new in version 2.0?

  • Proper CAPTCHA-system to keep bots out. You can use the example CAPTCHAs or build your own custom modules.
  • Optional Splash page when entering the chat, e.g. for announcements, a CAPTCHA or rules to agree.
  • Better usability for browsers without frames support. Also the frame sizes are individually adjustable in the members profiles now.
  • Nicknames in the room adressed with an @ can be automatically styled accordingly.
  • Nicer and shorter display for hotlinks.
  • A bit more CSS functionality, though still compatible with older browsers.
  • List of guests in the room can be automatically shortened, e.g. for public chats with lots of guests.
  • Members can be shared by multiple chat setups now. You can create rooms for different languages e.g. or have a separate members only room, sharing the same members database with your main room.
  • Guest nicks will be preserved for an adjustable time to prevent abuse and imposters.
  • If the entry is closed for guests, currently chatting guests can optionally be kept in the room now.
  • Messages can optionally be preserved now when the room is empty, for less frequented chats or a simple "message board" chat.
  • The content filters got a lot more options and flexibility.
  • Custom HTML-fields got some more universal variables to use.
Furthermore there are some inconsistencies in the code fixed and lots of small improvements made overall. You can now reload the chat window or switch Tor-circuits anytime without losing your session. Also there's a bit more CSS used (still degrades gracefully for older browsers) and almost every element got a class or id for the CSS enthusiasts, so you can go crazy with styling individual buttons and boxes everywhere if you like. ;-)

Download

  • Current version v2.0, including example CAPTCHA modules: lechat-2.0.zip MD5-checksum: 983DFFB11C1FFD45299A2DDAAE837A6E
  • Available language files: ItalianNew!
    Many thanks to all contributors!

    Language files from older versions (see below) will still work, but the new additions will be missing and some texts need to be adapted. Just use them as a template and edit them in the superuser setup page. If you do, please send me a copy for here, so everyone can enjoy it.

Installation

Check the Installation Guide for detailed instructions. Very brief installation instructions are written in the script-file also. If you are on Windows and have trouble with the line encoding (UNIX), you can rename the cgi-file to *.txt and then view it in your browser. Better get a suitable editor though, e.g. Notepad++ which I like a lot.
If you upgrade from v1.14, best is you make a clean install, since some file formats have changed. Don't try to upgrade a running chat directly or strange things will happen! You can then restore your member file backup. The config file could also be restored, but you'll have to review all the settings carefully since the placeholders have changed a lot. Better start with the new defaults and copy over your settings one by one.
For tweaking your chat check out this page with h
Any feedback or bug reports?

Enjoy!


Alternative Third-Party Developments

  • If you want a neat preconfigured chat with additional features and pictures, check out this modified version from Friendly Script Updater, based on v1.14.
  • In case you prefer PHP over Perl, you might also want to check out LE Chat-PHP at Daniel Winzens site.
Thank you guys for all your work and ideas!

Questions & Answers

If you're modifying the script or if you're just curious about what the hell I was thinking, when I wrote things the way I did, check out my random thoughts for some questions & answers from me.

Old versions

Still available, in case you want a copy.
  • v1.14: lechat-1.14.zip MD5-checksum: 75B68195056D01EA7F3F5A4B01AAD9BA
    language files: German Spanish Italian
  • v1.13: lechat-1.13.zip MD5-checksum: 6AB59D7E7868D304FE9B9D4FF3676BE8
Share:
Read More
, , , , , , , , , , , ,

The Definitive Guide to Google Classroom "Parent View" aka Guardian Summaries

In this guide, Mike Wallace and Amy Mayer seek to provide you with all the knowledge you need as a PARENT, TEACHER or GAFE SYS ADMIN to get the most out of Google Classroom Guardian Summaries. We sure hope it helps! If it does, please share this post and encourage your colleagues to get on our email list here.

All materials referred to in this post can be found here.



PARENTS: If your child's school is using Google Classroom and has enabled Guardian Summaries, your job is easy. All you have to do is click "Accept" when you receive the email from ...@classroom.google.com. It will look something like the screenshot you see below:

After you click the blue ACCEPT button, you'll get an option to choose the frequency of the emails you receive (daily or weekly) and your time zone. Presumably, this will keep the summaries from coming to you at 3 a.m. and waking you up. 

If you don't get the invite, check your email's SPAM folder. The email should come from a "no reply" email address and that may push it into SPAM. If you still don't get the invite, ask your child's teacher to remove your address and re-add you. This will remove you from all classes where you have been invited, but that's ok because you didn't get the invite anyway. If that STILL doesn't work, create a new Gmail email address and ask the teacher or system administrator to invite that address. Remember, you can always forward messages to your existing account so that you don't have to permanently change your address. 

If you STILL don't get the email, the problem most likely is that your email provider is blocking emails from Google at the server level before they get to your inbox. ​This is a problem that neither we nor Google will likely be able to solve; however, there are two possible workarounds.

1. Sign up for a Gmail account here. If you don't want to check another email address, you can use these directions to forward email from that account to your current account.

2. Contact your email provider and ask them to release the emails from Google Classroom. they will be looking for messages from @classroom.google.com.

If you choose to enact solution 1 above, you would then need ask your child's teacher to add your new Gmail address to Google Classroom.


TEACHERS: Your job is a bit more difficult, and depending on the settings your Google Apps System Administrator has chosen, this next step could be a tad time consuming. However, it will also be WORTH IT

Scenario 1: Your Admin has allowed YOU to invite guardians. Below you will see a gif showing you how to invite a guardian manually if this feature has been enabled for you. Here are some written directions

Scenario 2: Your Admin has added guardians to Classroom. This is a dream come true! In this case, just go to the Students tab in your classroom and toggle the switch beside "Include this class." You'll also need to decide if you want to add ALL the classes you teach or just this one. Both options are pictured below. 

GAFE SYS ADMINS: 

You also have some work to do, and as you can see from the directions above, everyone is counting on you (as usual)! There are also two scenarios for you to consider. 

Scenario 1: Teachers are already contacting students' guardians. They already know who those guardians are and presumably there is a system in place so that they know when a guardian becomes not a guardian anymore or is added. Considering this, it is possible to allow teachers to add guardians themselves. They may even ask you for this privilege because they will be able to keep this information updated themselves. In this case, please watch the video below to learn how to allow teachers to manually add guardians. 



Scenario 2: Your district collects and maintains guardian data and you take the responsibility seriously. You want there to be ONE system that houses this information and you want to maintain control of it. In this case, you will want to populate guardian data yourself.

Before you set up the script or begin the process, email parents AND teachers to let them know what's going on. Here are some email templates you can use. Don't forget to replace the GREEN text with your school's information.

FOR THE REAL TECHNICAL PEOPLE: In order to automate this process, you will have to install GAM (Google Apps Manager). You can get it from Github here and you can learn how to use it here. Once you get GAM installed, please see this example Script and CSV file Mike Wallace has generously provided.  This script will work for districts with up to 3000 students; larger districts will need a more complicated setup to mitigate the time it takes to download a list of invites from Google. If you need help with this process, please feel free to contact friEdTechnology for a quote here.


We sure hope this helps! Please let us know in the comments or on YouTube if you have any further questions or anything to add!

Share:
Read More
, , , , , , , , , ,

Learning to use the New Autocrat is Working SMARTER

Autocrat is a ROBOT that does your work for you. You heard me right. It's like Rosie from the Jetsons. If you don't take a few minutes to learn this, you're literally working HARDER not SMARTER, so come on y'all, who wants to do this? Stay late today, watch, then save TONS of time later when Autocrat is working for you.



As you can see, learning Autocrat is just like hiring the gal below without all the interpersonal drama. Do it. 

Share:
Read More