Tracking the Inside Intruder Using Net Log on Debug Logging in Microsoft

Total Page:16

File Type:pdf, Size:1020Kb

Tracking the Inside Intruder Using Net Log on Debug Logging in Microsoft This document was prepared in conjunction with work accomplished under Contract No. DE-AC09-96SR18500 with the U. S. Department of Energy. DISCLAIMER This report was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof. This report has been reproduced directly from the best available copy. Available for sale to the public, in paper, from: U.S. Department of Commerce, National Technical Information Service, 5285 Port Royal Road, Springfield, VA 22161, phone: (800) 553-6847, fax: (703) 605-6900 email: [email protected] online ordering: http://www.ntis.gov/help/index.asp Available electronically at http://www.osti.gov/bridge Available for a processing fee to U.S. Department of Energy and its contractors, in paper, from: U.S. Department of Energy, Office of Scientific and Technical Information, P.O. Box 62, Oak Ridge, TN 37831-0062, phone: (865)576-8401, fax: (865)576-5728 email: [email protected] WSRC-TR-2004-00011 Tracking the Inside Intruder Using Net Logon Debug Logging in Microsoft® Windows® Server Operating Systems Christina S. Davis Principle Engineer Westinghouse Savannah River Company Savannah River Site Aiken, South Carolina 29808 [email protected] ABSTRACT This paper discusses how to use Net Logon In today’s well-connected environments of debug logging to identify and track malicious the internet, intranets, and extranets, protecting user activity both in real-time and for forensic the Microsoft Windows network can be a analysis. daunting task for the security engineer. Intrusion Detection Systems are a must-have for most companies, but few have either the financial KEYWORDS resources or the people resources to implement and maintain full-scale intrusion detection systems for their networks and hosts. Many will Netlogon, Inside Intruder, Tracking, Windows® at least invest in intrusion detection for their Server 2003, Windows® 2000, Logon internet presence, but others have not yet stepped up to the plate with regard to internal intrusion detection. Unfortunately, most attacks will come from within. 1. Introduction Microsoft® Windows® networks are often Microsoft Windows server operating systems the target of malicious computer hacker activity. are widely used across both large and small While some companies invest in third party enterprises. Unfortunately, there is no intrusion intrusion detection systems, others cannot afford detection built-in to the Windows server them or do not have the people resources to operating system. The security logs are valuable manage them. They must rely on the native tools but can be difficult to manage even in a small to and features of Microsoft® Windows® Server medium sized environment. So the question 2003 and Windows® 2000, such as the security arises, can one effectively detect and identify an logs, to look for questionable activity. inside intruder using the native tools that come with Microsoft Windows Server operating systems? One such method is to use Net Logon While the security logs are useful, they can be Service debug logging to identify and track unwieldy even in a small to medium sized malicious user activity. domain. It can be difficult to obtain real-time WSRC-TR-2004-00011 data from the security logs. The security value by typing nltest /dbflag:0x20000004 at a engineer needs additional methods of identifying command prompt. malicious user activity. One such method is the built-in debug logging feature of the Net Logon Service. This paper discusses how to use Net Complete information on how to enable Net Logon Service debug logging to track suspicious Logon debugging and all of its associated flag user activity in Windows® Server 2003 and options can be found on the Microsoft® web site Windows® 2000 networks. It also discusses [2]. methods for refining the data obtained from the Net Logon debug logs. NOTE: When the netlogon.log file grows to 19Mb, it is copied to the file, 2. What is the Net Logon Debugging %systemroot%\debug\netlogon.bak, and a new Feature? netlogon.log file is created. You may consider backing up the netlogon.bak file each day and retaining the backups for a period so that you In order to understand debug logging for the will have some history if you need to track Net Logon Service, we must define the Net activity over a period. 120 days is a good period Logon Service. According to Microsoft®, the to retain logs. Net Logon Service is defined as “a user-mode service that runs in the Windows® security subsystem. The Net Logon service passes the 2.2. Contents of the Netlogon.log File user's credentials through a secure channel to the domain database and returns the domain security Let us examine the netlogon.log file with the identifiers and user rights for the user. In 0x20000004 debug option set (Table 1). addition, the Net Logon service performs a variety of other functions related to the user 12/09 07:11:10 [LOGON] SamLogon: logon process, such as periodic password Transitive Network logon of updates for computer accounts and domain MYDOMAIN\CONNIEH from \\JACK-SPRATT (via controller discovery.” [1] SERV3) Entered 12/09 07:11:10 [LOGON] SamLogon: Transitive Network logon of MYDOMAIN\CONNIEH from \\JACK-SPRATT (via 2.1. Enabling Net Logon Debugging SERV3) Returns 0x0 12/09 07:11:10 [LOGON] SamLogon: Transitive Network logon of The Net Logon Service maintains an activity MYDOMAIN\CONNIEH from \\JACK-SPRATT (via SERV3) Entered log on the server in the directory, 12/09 07:11:10 [LOGON] SamLogon: %systemroot%\debug\netlogon.log. By default, Transitive Network logon of MYDOMAIN\ANNJ the log is empty. However, if one has a need to from \\ANN-JONES (via SERV7) Entered troubleshoot net logon activity, such as why user 12/09 07:11:10 [LOGON] SamLogon: Transitive Network logon of accounts keep locking out for no apparent MYDOMAIN\CONNIEH from \\JACK-SPRATT (via reason, a debug value may be set in the registry SERV3) Returns 0x0 of the domain controllers, to begin capturing net 12/09 07:11:10 [LOGON] SamLogon: logon authentication data. We will use the debug Transitive Network logon of MYDOMAIN\ANNJ from \\ANN-JONES (via SERV7) Returns 0x0 log to track the intruder. Table 1: 0x20000004 Debug Option Set In our case, we wish to identify and track We see the type of logon (e.g. network or only the actual user logon activity, and so we interactive), the domain/workgroup name of the will set the debug value to 0x20000004. This user, the user name, the machine from which the will weed out extraneous information such as user is logging on, and the machine to which the Site location and other session information that user is attempting to connect. The code 0x0 we will not need for user tracking. We set this means the logon was successful. 2 WSRC-TR-2004-00011 2.3. Parsing the Netlogon Log WIN2KPRO\Administrator from WIN2KPRO (via BOSS) Returns 0xC0000064 01/28 16:16:20 [LOGON] SamLogon: Transitive Network logon of When looking for hacker activity, we want to WIN2KPRO\Administrator from WIN2KPRO (via look first for potential scanning activity. We BOSS) Returns 0xC0000064 will see a great deal of failed logon attempts due Table 2: Failed Logon Data to an unknown user name (code 0xC0000064) or bad password (code 0xC000006A) and in some cases, a clear footprint of the utility used to The activity is suspicious because the perform the scan (such as Nessus® or ISS®). WIN2KPRO machine is attempting to By issuing a simple findstr command at the authenticate over the network with many command prompt or from within a batch file, different computers using a pass-through of the one can extract only the failed attempts, such as built-in Administrator account. Because the those cases where an unknown user name WIN2KPRO machine is attempting attempted to authenticate. authentication to so many machines in such a short period and the failures are unknown account names, this could suggest the use of a findstr /I "0xC0000064" scanning tool. In this instance, it could be c:\winnt\debug\netlogon.log >> someone looking for blank or easily guessed d:\save\failed.txt passwords as an easy means to hack into computers on the network. Also in this instance, the Administrator account does not exist on the When we examine the output of the findstr target machines. It has been renamed. A similar command, we see that the local user search on bad password attempt (code “Administrator” on a machine named 0xC000006A) would yield even more data for WIN2KPRO has attempted to authenticate or machines that have not renamed the access many different machines within a few Administrator account but where the scan seconds (Table 2). attempted to use a bad password. 01/28 16:16:11 [LOGON] SamLogon: Using the findstr command to parse data, we Transitive Network logon of can obtain a clear view of some scanning WIN2KPRO\Administrator from WIN2KPRO (via utilities, such as Nessus® (Table 3). The data MYLAPTOP) Returns 0xC0000064 01/28 16:16:11 [LOGON] SamLogon: are suspicious because we have one machine Transitive Network logon of targeted by many user names and passwords in a WIN2KPRO\Administrator from WIN2KPRO (via short period.
Recommended publications
  • User's Guide • Oracle Enterprise Manager Licensing Information User Manual 2.9.2 Integrating Compliance Check Results with Third-Party Tool
    Autonomous Health Framework User’s Guide 21c F31833-01 November 2020 Autonomous Health Framework User’s Guide, 21c F31833-01 Copyright © 2016, 2020, Oracle and/or its affiliates. Primary Authors: Nirmal Kumar, Janet Stern Contributing Authors: Richard Strohm, Mark Bauer, Douglas Williams, Aparna Kamath, Subhash Chandra Contributors: Girdhari Ghantiyala, Gareth Chapman, Robert Caldwell, Vern Wagman, Mark Scardina, Ankita Khandelwal, Girish Adiga, Walter Battistella, Jesus Guillermo Munoz Nunez, Sahil Kumar, Daniel Semler, Carol Colrain This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations.
    [Show full text]
  • List Drive Using Cmd
    List drive using cmd click here to download You can display or list drives in CMD / Command Prompt or PowerShell, using wmic, diskpart, fsutil, psdrive command line, in Windows 10 / 8. The command that erases the drive during this process is "Clean". In this article " Clean" From the diskpart prompt, type list disk and press Enter. Shows the. If you want to use it in a script, then wrap it in for /f with the skip=1 . that whenever typed will run the given command and list all volume letters. How to create a partition from Command Prompt. First of all, open the To view the available disks on your system, use the command list disk. Diskpart is a separate suite of commands that runs in the command window in a particular disk, partition, or volume it must first be selected with the "list disk". You can manually assign permanent drive letters in Windows Type the following command to list all the volumes on your computer and. How does one get a list of the drives connected from the command line? For instance, sometimes I need to run chkdsk on a hdd, so I pop the. See drives in MS-DOS and the Windows command to list all available drives on the computer through. We can run the below command from windows command prompt to get the list of local drives. wmic logicaldisk get description,name | findstr /C:”Local” We can. Diskpart assign and remove drive letter with its syntax in the command prompt. There are And you can type list volume to see the details.
    [Show full text]
  • WINDOWS POWERSHELL LOGGING CHEAT SHEET - Win 7/Win 2008 Or Later
    WINDOWS POWERSHELL LOGGING CHEAT SHEET - Win 7/Win 2008 or later This “Windows PowerShell Logging Cheat Sheet” is intended to help you get started setting up basic and necessary PowerShell (Windows Management Framework) command and command line logging. This list includes some very common items that should be enabled, configured, gathered and harvested for any Log Management program. Start with these settings and add to it as you understand better what is in your logs and what you need. DEFINITIONS:: ENABLE: Things you must do to enable logging to start collecting and keeping events. CONFIGURE: Configuration that is needed to refine what events you will collect. GATHER: Tools/Utilities that you can use locally on the system to set or gather log related information – AuditPol, WEvtUtil, Find, etc. HARVEST : Events that you would want to harvest into some centralized Event log management solution like syslog, SIEM, Splunk, etc. RESOURCES: Places to get information on PowerShell Logging PS 2,3,4 Command Line Logging - http://technet.microsoft.com/en-us/library/hh847796.aspx PowerShell Transcript information - https://technet.microsoft.com/en-us/library/hh849687.aspx PS 4 - https://www.fireeye.com/blog/threat-research/2016/02/greater_visibilityt.html PS 4 & 5 - https://blogs.msdn.microsoft.com/powershell/2015/06/09/powershell-the-blue-team - KEY for PS 5 https://www.blackhat.com/docs/us-14/materials/us-14-Kazanciyan-Investigating-Powershell-Attacks-WP.pdf http://learn-powershell.net/2014/08/26/more-new-stuff-in-powershell-v5-extra-powershell-auditing http://www.redblue.team/2016/01/powershell-traceless-threat-and-how- to.html?showComment=1464099315089#c3589963557794199352 https://www.carbonblack.com/wp-content/uploads/2016/04/Cb-Powershell-Deep-Dive-A-United-Threat-Research-Report-1.pdf INFORMATION:: 1.
    [Show full text]
  • Windows Tool Reference
    AppendixChapter A1 Windows Tool Reference Windows Management Tools This appendix lists sets of Windows management, maintenance, configuration, and monitor- ing tools that you may not be familiar with. Some are not automatically installed by Windows Setup but instead are hidden away in obscure folders on your Windows Setup DVD or CD- ROM. Others must be downloaded or purchased from Microsoft. They can be a great help in using, updating, and managing Windows. We’ll discuss the following tool kits: ■ Standard Tools—Our pick of handy programs installed by Windows Setup that we think are unappreciated and not well-enough known. ■ Support Tools—A set of useful command-line and GUI programs that can be installed from your Windows Setup DVD or CD-ROM. ■ Value-Added Tools—Several more sets of utilities hidden away on the Windows Setup CD-ROM. ■ Windows Ultimate Extras and PowerToys for XP—Accessories that can be downloaded for free from microsoft.com. The PowerToys include TweakUI, a program that lets you make adjustments to more Windows settings than you knew existed. ■ Resource Kits—A set of books published by Microsoft for some versions of Windows that includes a CD-ROM containing hundreds of utility programs. What you may not have known is that in some cases you can download the Resource Kit program toolkits with- out purchasing the books. ■ Subsystem for UNIX-Based Applications (SUA)—A package of network services and command-line tools that provide a nearly complete UNIX environment. It can be installed only on Windows Vista Ultimate and Enterprise, and Windows Server 2003.
    [Show full text]
  • Hacking Exposed: Melting Down Memory
    #RSAC SESSION ID: EXP=W04 HACKING EXPOSED: MELTING DOWN MEMORY George Kurtz Dmitri Alperovitch Elia Zaitsev Co-Founder & President/CEO Co-Founder & CTO Director CrowdStrike Inc. CrowdStrike Inc. Solutions Architecture @George_Kurtz @DAlperovitch CrowdStrike Inc. #RSAC THE HACKING EXPOSED OSCARS ARE BACK #RSAC THE NOMINEES FOR BEST TECHNIQUES ARE… #RSAC CATEGORY: CREDENTIAL THEFT DELIVERY: STRATEGIC WEB COMPROMISE USING SMB TECHNICAL BREAKDOWN #RSAC Variations of remote source Javascript + Dean Edwards Packer obfuscation Tiny image Hidden in JQuery related Javascript files #RSAC DEMO 6 REAL WORLD EXAMPLES #RSAC - Massive BERSERK BEAR credential harvesting campaign - Targeted numerous sectors — Chemical – Sept 2017 — Financial – Sept 2017 — Hospitality – Sept 2017 — Oil & Gas – April 2017 — Technology – April 2017 — Engineering – April 2017 — Education – April 2017 REAL WORLD EXAMPLES #RSAC Another variation used spear-phishing emails. Word Docs contain code that attempts to retrieve doc template from remote source over WebDAV 8 REAL WORLD EXAMPLES #RSAC - Post Harvesting Activity - Offline hash cracking - Pass the hash tools - Public facing services most vulnerable - Webmail - VPN - Remote conferencing software COUNTERMEASURES #RSAC - Implement Two-Factor Authentication (2FA) - Restrict or monitor SMB connectivity to remote servers - Robust password policies (length/duration/reuse) - Restrict or monitor remote user authentication - Leverage threat intel to track known SMB C2s #RSAC CATEGORY: WHITELISTING BYPASS DELIVERY: INSTALLUTIL TECHNICAL
    [Show full text]
  • Monitoring Malicious Powershell Usage Through Log Analysis
    Monitoring malicious PowerShell usage through log analysis Jesper Magnusson Computer Science and Engineering, master's level 2019 Luleå University of Technology Department of Computer Science, Electrical and Space Engineering (This page is intentionally left almost blank) Abstract Security has become a hot topic around the world but focuses more on the perime- ter than inside networks which opens up vulnerabilities. Directed cyber-attacks towards the energy sector which leverages this fact has increased and can have dis- astrous effect, even on national level. To counter this, a solution to monitor the usage of the most powerful and popular built-in tool among attackers - PowerShell - was implemented. A test-bed was set up reflecting a corporate network with two separate active directory domains, one for office clients and one for critical infrastructure. It was shown that attackers only needed to overtake the office active directory domain in order for gain easy access to the critical active directory domain. To simulate attacks of this type, a collection of malicious scripts was gathered from which a number of possible scenarios for taking over the office active directory domain via PowerShell was created. Windows has several options for logging executions of PowerShell commands on machines. The one used and deemed most beneficiary was "Module logging" with the addition of a filtered result of process creation logs. To monitor the logs created on the office client from PowerShell executions, a system based on the "ELK stack" was set up. This system gathered, processed, stored and visualized logs along with the result of their analysis. The system analyzed logs with the aid of a custom software called "ESPSA" which based on different parameters and contexts assigned every execution with a risk value indicating the level of maliciousness.
    [Show full text]
  • Batch Files and Scripts Why Should You Care?
    CS140M Fall 2014 Why Should You Care? • Many easy‐to‐use, helpful little programs Batch Files and Scripts • Psychological satisfaction of not being totally under Windows control • Not for everybody but programming can be fun By Al Lake • Make you better prepared to avoid viruses Fall 2014 LBCC CS140M Fall 2014 CS140M Lake 2 General Program Types Common Scripts • Compiled • Batch files – Written in some coding language and then converted to binary – An old format with new power in XP – Executable that interacts with OS directly • VBScript – Examples of languages are C and Java – Related to visual basic and VBA • • Interpreted JavaScript (also JScript) – Common on Internet – Text files that require an interface – Not related to Java • Much slower but easy to write and edit • Generically called “scripts” • Special files with REG extension – Specifically to edit Registry Fall 2014 CS140M Lake 3 Fall 2014 CS140M Lake 4 What are Scripts Used For? What is a Batch File? • Repetitive operations • A text file with extension BAT containing a – System administration sequence of commands – Automation of common tasks • Interpreter is command.com in DOS/Windows 9x/Me • To carry out a series of operations in one step – Commands are DOS plus some additions for • To help with file management variables and branching • To make Registry changes • Interpreter is cmd.exe in XP – Available commands are more versatile than DOS and are 32‐bit Fall 2014 CS140M Lake 5 Fall 2014 CS140M Lake 6 Lake 1 CS140M Fall 2014 Example of Batch File Del Example Deletes one or more files. DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names • “Cleantmp.bat” ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names names Specifies a list of one or more files or directories.
    [Show full text]
  • Batch Find Text in File
    Batch Find Text In File Leftover and thespian Baron roar: which Derek is cropped enough? Normand altercating solidly? Unfit and twopenny Wit always subrogate healthily and undermined his housecraft. Batch to summit a particular crime in a txt file VideoHelp Forum. Create more Text in Batch File in TestStand National Instruments. Built-in text editor supporting drag drop clipboard operations undoredo etc Multi-line find and replacement fields Case insensitive ignore case another option. Findstr command for processing is fast word and confirm the command syntax have several pages in find text batch in file, but sets file! Count lines and words in it text file Batch recipes. Batch Text File Editor Free Download Replace insert delete. Search a semicolon delimited list of directories strings Text do be searched for drivepathfilename Specifies a file or files to search. Solved Batch script to plunge and strange a particular in text file. TextBatchConv was ConvertEncoding allows you to save or text file txt html etc with a. Ever had could find some point inside a bunch of upcoming text files If three're in those this issue did come up this often. Display all the program will be the extensions, detect unauthorized access and file in stored as windows command prompt and vista or applications that you can call will need. Search for Notepad and click the top result to gate the app Type anything following lines in flat text file to taint a batch file ECHO input ECHO. Any text in find a dialog walks you on windows rename is in batch find text file before swapping out a file contents of backslashes has.
    [Show full text]
  • An A-Z Index of the Windows CMD Command Line
    An A-Z Index of the Windows CMD command line aaADDUSERSADDUSERS Add or list users to/from a CSV file ADmodcmd Active Directory Bulk Modify ARP Address Resolution Protocol ASSOC Change file extension associations• ASSOCIAT One step file association AT Schedule a command to run at a specific time ATTRIB Change file attributes bb BCDBOOT Create or repair a system partition BCDEDIT Manage Boot Configuration Data BITSADMIN Background Intelligent Transfer Service BOOTCFG Edit Windows boot settings BROWSTAT Get domain, browser and PDC info cc CACLS Change file permissions CALL Call one batch program from another• CERTREQ Request certificate from a certification authority CERTUTIL Utility for certification authority (CA) files and services CD Change Directory - move to a specific Folder• CHANGE Change Terminal Server Session properties CHKDSK Check Disk - check and repair disk problems CHKNTFS Check the NTFS file system CHOICE Accept keyboard input to a batch file CIPHER Encrypt or Decrypt files/folders CleanMgr Automated cleanup of Temp files, recycle bin CLEARMEM Clear memory leaks CLIP Copy STDIN to the Windows clipboard CLS Clear the screen• CLUSTER Windows Clustering CMD Start a new CMD shell CMDKEY Manage stored usernames/passwords COLOR Change colors of the CMD window• COMP Compare the contents of two files or sets of files COMPACT Compress files or folders on an NTFS partition COMPRESS Compress individual files on an NTFS partition CON2PRT Connect or disconnect a Printer CONVERT Convert a FAT drive to NTFS COPY Copy one or more files
    [Show full text]
  • An A-Z Index of the Windows XP Command Line
    An A-Z Index of the Windows XP command line ADDUSERS Add or list users to/from a CSV file ARP Address Resolution Protocol ASSOC Change file extension associations• ASSOCIAT One step file association AT Schedule a command to run at a later time ATTRIB Change file attributes b BOOTCFG Edit Windows boot settings BROWSTAT Get domain, browser and PDC info c CACLS Change file permissions CALL Call one batch program from another• CD Change Directory - move to a specific Folder• CHANGE Change Terminal Server Session properties CHKDSK Check Disk - check and repair disk problems CHKNTFS Check the NTFS file system CHOICE Accept keyboard input to a batch file CIPHER Encrypt or Decrypt files/folders CleanMgr Automated cleanup of Temp files, recycle bin CLEARMEM Clear memory leaks CLIP Copy STDIN to the Windows clipboard. CLS Clear the screen• CLUSTER Windows Clustering CMD Start a new CMD shell COLOR Change colors of the CMD window• COMP Compare the contents of two files or sets of files COMPACT Compress files or folders on an NTFS partition COMPRESS Compress individual files on an NTFS partition CON2PRT Connect or disconnect a Printer CONVERT Convert a FAT drive to NTFS. COPY Copy one or more files to another location• CSCcmd Client-side caching (Offline Files) CSVDE Import or Export Active Directory data d DATE Display or set the date• Dcomcnfg DCOM Configuration Utility DEFRAG Defragment hard drive DEL Delete one or more files• DELPROF Delete NT user profiles DELTREE Delete a folder and all subfolders DevCon Device Manager Command Line Utility
    [Show full text]
  • A-Z List of Windows CMD Commands — Also Included CMD Commands Commands PDF PDF
    A-Z List Of Windows CMD Commands — Also Included CMD Com... https://techlog360.com/all-windows-cmd-commands/?preview_id=43... A-Z List Of Windows CMD Commands — Also Included CMD Commands Commands PDF PDF Sabarinath CMD Commands Function A addusers Used to add and list users in a CSV file admodcmd Used for bulk modifying contents in an active directory Address Resolution Protocol is used to map IP address to arp the hardware address assoc Used to change associations for file extensions associat One step file association at Run a command at a specific time atmadm Display connection info of the ATM adapter attrib Used to change file attributes B bcdboot Used to create and repair a system partition bcdedit Used to manage boot configuration data Used to manage the Background Intelligent Transfer bitsadmin Service bootcfg Used to edit boot configuration in Windows break Enable/Disable break capability (CTRL+C) in CMD C cacls Used to change permissions of files call Used one batch program to call another certreq Used to request a certificate from a certification authority certutil Manage Certification Authority files and services cd Used to change folder (directory) or go to a specific one change Used to change terminal services chcp Displays the number of active console code page chdir Same as cd command chkdsk Used to check and repair issues in the disk chkntfs Used to check the NTFS file system choice Accept user input (via keyboard) to a batch file cipher Used to encrypt/decrypt files and folder cleanmgr Used clean temp files and recycle
    [Show full text]
  • Detecting & Defeating the China Chopper Web Shell | Fireeye
    REPORT THE LITTLE MALWARE THAT COULD: Detecting and Defeating the China Chopper Web Shell FireEye Labs Authors: Tony Lee, Ian Ahl and Dennis Hanzlik SECURITY REIMAGINED The Little Malware That Could: Detecting and Defeating the China Chopper Web Shell CONTENTS Introduction ............................................................................................................................................................................................................................................................................................................................................... 3 Components ............................................................................................................................................................................................................................................................................................................................................... 3 Capabilities ................................................................................................................................................................................................................................................................................................................................................... 8 Payload Attributes ............................................................................................................................................................................................................................................................................................................
    [Show full text]