Skip to content

Latest commit

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Basework

This documentation explains folder and file permissions, process and file internals, and event log identifiers relevant to system security.

Overview

Understanding permissions, file types, process relationships, and event log identifiers is important for maintaining secure and properly functioning systems. Incorrect permissions or misconfigured access controls can lead to unauthorized access, data exposure, or undetected compromise. This repository provides a clear, structured explanation of these topics.

Scope: This is a defensive and detection reference. It does not contain exploit code, working injection payloads, or offensive tooling. All ATT&CK mappings, event IDs, and technique descriptions are documented solely at the detection and identification level.

Live Version:View the interactive tools and Knowledge Base.


Table of Contents

Reference Docs

#FileTopic
01Unix Permissionsrwx model, octal table, setuid/setgid/sticky, POSIX ACLs, extended attrs, web-root baselines
02Windows NTFS PermissionsNTFS permission model, inheritance, icacls/Get-Acl, common misconfigs
03Windows File TypesPE format basics, common extensions, abuse patterns
04DLL Types and LoadingDLL types, search order, side-loading, injection techniques at detection level
05Threads and ProcessesThread vs process, remote threads, APC injection, process hollowing — detection artifacts
06Process Tree ConstructionPID/PPID relationships, expected Windows process tree, suspicious chains, command-line analysis, and LOLBin reference
07Windows Event IDsSecurity event ID reference grouped by category
08Sysmon Event IDsSysmon event ID reference, schema 4.90/4.91
09Event ID Ranges by SourceQuick lookup: ID range → log source
10Registry Hives and PersistenceThe five hives, persistence keys, process tree connection
11Ports and ProtocolsCommon ports with detection relevance notes
12HTTP Status CodesFull 1xx–5xx reference with security annotations
13MITRE ATT&CK Quick MapCross-reference index: techniques mapped to ATT&CK IDs
14Email Headers and PhishingSPF/DKIM/DMARC, header analysis, homograph/lookalike domains, phishing indicators
15File Hashing and IdentificationMD5/SHA1/SHA256, cryptographic integrity, imphash, ssdeep/fuzzy hashing
16Windows Scheduled TasksArchitecture, triggers, actions, schtasks, Task XML, event IDs, persistence
17Windows Auth FundamentalsAuth vs authz, LSASS/LSA/SAM, NTLM challenge-response, Kerberos ticket flow, logon types
18Linux FilesystemFHS overview, purpose of core directories, security/forensic artifacts
19Linux Processes and LoggingPID/PPID, process states, /proc, syslog/journald, auditd fundamentals
20Security FundamentalsCIA triad, AAA, defense in depth, least privilege, threat/vulnerability/exploit/risk definitions

Interactive Tools

ToolDescription
Permission CalculatorUnix rwx/octal toggle with symbolic string, octal, and description outputs
Process Tree ViewerExample trees (normal boot, Office macro chain, PPID spoofing) with ATT&CK ID mapping

Usage

  • General navigation: Search (Ctrl+F / Cmd+F) within a document, or use the interactive tools.
  • Event ID reference: Consult 07 or 08. For unfamiliar sources, refer to 09.
  • Process trees: Use 06 for expected relationships. Associated ATT&CK IDs are indexed in 13.
  • Permissions: See 01 for Unix, 02 for Windows, or access the permission calculator.

License

MIT — see LICENSE.

About

Reference documentation on file/folder permissions, process and file internals, Windows and Linux system fundamentals, and event log identifiers relevant to system security.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages