马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 无符号整形 于 2016-6-29 17:41 编辑
打开一个可执行文件,你看到的可能是这样的
别急,滚到下面去看看?
发现了有价值的信息,这是内存块
在下去loseHandle "GlobalLock ?WriteFile GlobalAlloc PSleep )GlobalUnlock GlobalFree
KERNEL32.dll SMoveWindow ?RegisterClassA ? DialogBoxParamA LoadCursorA WUpdateWindow ?
GetSystemMetrics ? DispatchMessageA ShowWindow LoadAcceleratorsA 7GetDesktopWindow ?
DefWindowProcA ? EndDialog <TranslateAcceleratorA ?ReleaseDC 5GetDCEx p CreateWindowExA ?
InvalidateRect FMessageBoxA 3LockWindowUpdate ?TranslateMessage 4GetDC BeginPaint
EMessageBeep "LoadIconA qPostQuitMessage oGetMessageA ?SetCursor ? EndPaint USER32.dll J
CreatePalette UpdateColors 9GetStockObject EndDoc 'GetObjectA 7 CreateDIBitmap ?
SelectPalette ?RealizePalette
StartDocA 0 CreateCompatibleBitmap 1 CreateCompatibleDC ?
SelectObject DeleteObject 2 CreateDCA ?GetDIBits ?GetDeviceCaps DeleteDC StartPage
BitBlt EndPage GDI32.dll PrintDlgA
GetSaveFileNameA GetOpenFileNameA COMDLG32.dll ?
free ?malloc MSVCR120.dll k_XcptFilter ?__crtGetShowWindowMode _amsg_exit ?__getmainargs
?__set_app_type Nexit ?_exit /_cexit 1_ismbblead @_configthreadlocale ?__setusermatherr
_initterm_e _initterm _acmdln ?_fmode ?_commode P_crt_debugger_hook ?
__crtUnhandledException ?__crtTerminateProcess 5?terminate@@YAXXZ ?
__crtSetUnhandledExceptionFilter ?_lock _unlock ._calloc_crt ?__dllonexit :_onexit
_invoke_watson C_controlfp_s z_except_handler4_common !EncodePointer gIsDebuggerPresent
mIsProcessorFeaturePresent -QueryPerformanceCounter
GetCurrentProcessId GetCurrentThreadId
?GetSystemTimeAsFileTime ? DecodePointer
这一段是关于API和DLL的的代码,程序调用这些API时会调用载入这些DLL
再往下看,有一段这样的<?xml version='1.0' encoding='UTF-8'
standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
这段是必须的,有着重要功能。比如我想让他永远以管理员身份运行的话就把这一段改成下面这样<?xml version='1.0' encoding='UTF-8'
standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level='requireAdministrator'/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
level属性可能有三个值
asInvoker:以主调线程相同的权限启动
requireAdministrator:必须以管理员身份启动,否则不会运行
highestAvaikavle:应用程序已当前可用的最高权限允许
最后一段就是数字签名,了解一下即可,不必深究(删了很多地方,要文件的话
截图工具.zip
(8.43 KB, 下载次数: 8)
)
0$0*0H0o0????
010U
e鄘&S鱡t_b0
111231160000Z
191231160000Z010U
e鄘&S鱡t_b0仧0
*咹嗺
0U10 UCN10U
WoSign CA Limited1*0(U!Certification Authority of
WoSign0
090808010005Z
240808010005Z0O10 UCN10U
WoSign CA
Limited1$0"UWoSign Time Stamping Signer0?"0
UCN10U
WoSign CA Limited1*0(U!Certification Authority of WoSign%]榿?.<A?O癅L0
+ 燷0 *咹嗺
1 *咹嗺
0 *咹嗺
1
160625034919Z0# *咹嗺
关键区域已经用粗体表示
大家有什么不懂得地方欢迎更贴 |