September 2024

Fabric

bash<br>FROM golang:1.23-alpine<br>WORKDIR /app<br>RUN apk add --no-cache git<br>RUN git clone https://github.com/danielmiessler/fabric.git .<br>RUN go install github.com/danielmiessler/fabric@latest<br>ENV GOROOT=/usr/local/go<br>ENV GOPATH=/root/go<br>ENV PATH=$GOPATH/bin:/root/.local/bin:/usr/local/bin:$PATH<br><br>CMD <br> echo “Tell me a story make it 1 sentence | docker run…

TrustedInstaller

sc config TrustedInstaller binPath= “cmd.exe /C del path/to/file”sc config TrustedInstaller binPath= “C:\Windows\servicing\TrustedInstaller.exe” SeDebugPrivilege PS Set-NtTokenPrivilege SeDebugPrivilegePS Start-Service TrustedInstallerPS $p = Get-NtProcess -Name TrustedInstaller.exePS $t = $p.OpenToken()PS $t.Groups | Where-Object {$_.Sid.Name…