![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
Functions | |
def | check_ELF_PIE (executable) |
def | get_ELF_program_headers (executable) |
def | check_ELF_NX (executable) |
def | check_ELF_RELRO (executable) |
def | check_ELF_Canary (executable) |
def | get_PE_dll_characteristics (executable) |
def | check_PE_PIE (executable) |
def | check_PE_NX (executable) |
def | identify_executable (executable) |
Variables | |
READELF_CMD = os.getenv('READELF', '/usr/bin/readelf') | |
OBJDUMP_CMD = os.getenv('OBJDUMP', '/usr/bin/objdump') | |
dictionary | CHECKS |
int | retval = 0 |
def | etype = identify_executable(filename) |
list | failed = [] |
def security-check.check_ELF_Canary | ( | executable | ) |
Check for use of stack canary
Definition at line 101 of file security-check.py.
def security-check.check_ELF_NX | ( | executable | ) |
Check that no sections are writable and executable (including the stack)
Definition at line 61 of file security-check.py.
def security-check.check_ELF_PIE | ( | executable | ) |
Check for position independent executable (PIE), allowing for address space randomization.
Definition at line 16 of file security-check.py.
def security-check.check_ELF_RELRO | ( | executable | ) |
Check for read-only relocations. GNU_RELRO program header must exist Dynamic section must have BIND_NOW flag
Definition at line 74 of file security-check.py.
def security-check.check_PE_NX | ( | executable | ) |
NX: DllCharacteristics bit 0x100 signifies nxcompat (DEP)
Definition at line 134 of file security-check.py.
def security-check.check_PE_PIE | ( | executable | ) |
PIE: DllCharacteristics bit 0x40 signifies dynamicbase (ASLR)
Definition at line 130 of file security-check.py.
def security-check.get_ELF_program_headers | ( | executable | ) |
Return type and flags for ELF program headers
Definition at line 32 of file security-check.py.
Referenced by check_ELF_NX(), and check_ELF_RELRO().
def security-check.get_PE_dll_characteristics | ( | executable | ) |
Get PE DllCharacteristics bits
Definition at line 115 of file security-check.py.
Referenced by check_PE_NX(), and check_PE_PIE().
def security-check.identify_executable | ( | executable | ) |
Definition at line 151 of file security-check.py.
dictionary security-check.CHECKS |
Definition at line 138 of file security-check.py.
def security-check.etype = identify_executable(filename) |
Definition at line 164 of file security-check.py.
list security-check.failed = [] |
Definition at line 170 of file security-check.py.
security-check.OBJDUMP_CMD = os.getenv('OBJDUMP', '/usr/bin/objdump') |
Definition at line 14 of file security-check.py.
security-check.READELF_CMD = os.getenv('READELF', '/usr/bin/readelf') |
Definition at line 13 of file security-check.py.
int security-check.retval = 0 |
Definition at line 161 of file security-check.py.
Referenced by AskPassphraseDialog.accept(), CalculateCurrentUsage(), WalletModel.changePassphrase(), AddressBookPage.done(), AddressTableModel.flags(), BanTableModel.flags(), PeerTableModel.flags(), UniValue.get_int(), UniValue.get_int64(), UniValue.get_real(), CAlert.getAlertByHash(), Intro.getPathToCheck(), BitcoinApplication.initializeResult(), MasternodeList.on_startAllButton_clicked(), MasternodeList.on_startButton_clicked(), MasternodeList.on_startMissingButton_clicked(), ReadBinaryFile(), SendCoinsDialog.send(), BitcoinApplication.shutdownResult(), and SendCoinsEntry.validate().