Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WithSecureLabs/CallStackSpoofer
/ functions
Functions
14 in github.com/WithSecureLabs/CallStackSpoofer
⨍
Functions
14
◇
Types & classes
4
↓ 3 callers
Function
PushToStack
Pushes a value to the stack of a Context structure.
VulcanRaven/VulcanRaven.cpp:472
↓ 1 callers
Function
CalculateFunctionStackSize
Calculates the total stack space used by the fake stack frame. Uses a minimal implementation of RtlVirtualUnwind to parse the unwind codes for target
VulcanRaven/VulcanRaven.cpp:286
↓ 1 callers
Function
CalculateFunctionStackSizeWrapper
Retrieves the runtime function entry for given fake ret address and calls CalculateFunctionStackSize, which will recursively calculate the total stack
VulcanRaven/VulcanRaven.cpp:396
↓ 1 callers
Function
CalculateReturnAddress
Uses the offset within the StackFrame structure to calculate the return address for fake frame.
VulcanRaven/VulcanRaven.cpp:257
↓ 1 callers
Function
GetImageBase
Calculates the image base for the given stack frame and adds it to the image base map.
VulcanRaven/VulcanRaven.cpp:211
↓ 1 callers
Function
GetLsassPid
Retrieves the pid of the lsass process.
VulcanRaven/VulcanRaven.cpp:595
↓ 1 callers
Function
HandleArgs
VulcanRaven/VulcanRaven.cpp:712
↓ 1 callers
Function
InitialiseFakeThreadState
Initialises the spoofed thread state before it begins to execute by building a fake call stack via modifying rsp and appropriate stack data.
VulcanRaven/VulcanRaven.cpp:484
↓ 1 callers
Function
InitialiseSpoofedCallstack
Takes a target call stack and configures it ready for use via loading any required dlls, resolving module addresses and calculating spoofed return add
VulcanRaven/VulcanRaven.cpp:434
↓ 1 callers
Function
SetPrivilege
Sets the specified privilege in the current process access token. Based on: https://docs.microsoft.com/en-us/windows/win32/secauthz/enabling-and-disab
VulcanRaven/VulcanRaven.cpp:625
Function
DummyFunction
Dummy function used as start address for spoofed thread.
VulcanRaven/VulcanRaven.cpp:706
Method
StackFrame
VulcanRaven/VulcanRaven.cpp:80
Function
VehCallback
Handles the inevitable crash of the fake thread and redirects it to gracefully exit via RtlExitUserThread.
VulcanRaven/VulcanRaven.cpp:684
Function
main
VulcanRaven/VulcanRaven.cpp:751