Skip to content
Karak Studio icon

Desktop · Windows

Karak Studio

The Overview page

The Overview is a summary meant to answer “what is this file and where should I look?” in under a minute. It is a starting point and not a verdict: ordinary programs do most of the things it lists.

The file name, then one line: the processor type, what kind of file it is (a program with windows, a command-line program, a library, or a driver), its size in bytes, and its build date.

The build date comes from a field inside the file. It is easy to fake and some build tools fill it with a meaningless value, so treat it as a hint.

For a Linux program the Overview starts with the facts a CTF player checks first, the same ones the checksec tool prints:

Line Good value What it means
PIE yes The program loads at a random address each run. Without it, every code address is fixed and known in advance
NX yes The stack cannot hold runnable code. Without it, code written onto the stack can be run
Stack canary yes A secret value sits next to stack buffers and is checked before returning, so an overflow is noticed
RELRO full The import table (the GOT) becomes read-only after start-up, so it cannot be overwritten
Names kept Function names are still in the file. “stripped” means they were removed and you see sub_...

Below them: the libraries it uses (usually libc.so.6), the loader that starts it, and a note when addresses were moved (see Linux programs).

The heading says “Linux program (ELF)”, “position-independent” when it is PIE, “statically linked” when it carries the C library inside itself, or “Linux shared library (.so)”. Linux programs do not record a build date, so none is shown.

A fingerprint, or hash, is a short code worked out from every byte of the file. Two files with the same SHA-256 are the same file. Researchers use hashes to refer to samples and to look them up.

  • SHA-256 and MD5 are shown, each with a Copy button.
  • Look this file up on VirusTotal opens your web browser on that file’s page at VirusTotal. Only the fingerprint is sent, and only when you click. The file itself never leaves your PC.
  • Underneath are counts of functions, imports and pieces of text. If the file carries a digital signature, that is noted. The signature is not checked for validity.

This section looks at the Windows functions the program imports and groups them into plain-language abilities. There are eighteen groups:

Ability Example functions that trigger it
Reads, writes or deletes files CreateFile, WriteFile, DeleteFile
Uses the registry (Windows settings) RegOpenKey, RegSetValue
Talks to the network socket, connect, InternetOpen, WinHttpSendRequest
Downloads files from the internet URLDownloadToFile, InternetReadFile
Starts other programs CreateProcess, ShellExecute, WinExec
Reaches into other running programs WriteProcessMemory, CreateRemoteThread
Loads code while running LoadLibrary, GetProcAddress
Makes memory runnable VirtualProtect, VirtualAlloc
Encrypts, decrypts or hashes data anything starting Crypt, BCrypt or NCrypt
Watches the keyboard or mouse SetWindowsHookEx, GetAsyncKeyState
Captures the screen BitBlt, PrintWindow
Reads or changes the clipboard OpenClipboard, GetClipboardData
Checks if it is being studied IsDebuggerPresent, CheckRemoteDebuggerPresent
Lists the programs that are running CreateToolhelp32Snapshot, Process32Next
Installs or controls Windows services CreateService, OpenSCManager
Changes its own permissions AdjustTokenPrivileges, OpenProcessToken
Collects information about this PC GetComputerName, GetUserName
Can shut down or restart Windows ExitWindowsEx

Each ability has a one-line note on how normal or unusual it is, and buttons for the functions that triggered it. Click a function button to jump to the first place the program calls it. The details panel then lists every other place.

If this section says “Nothing recognised”, the program either does very little or is packed and hides its imports.

Karak Studio reads every piece of text in the file and picks out the kinds that tend to matter:

Kind What counts
Web address Anything containing http://, https://, ftp://, ws:// or wss://
IP address Four numbers from 0 to 255 separated by dots. Things that look like version numbers, such as 1.0.0.0, are left out
Command Mentions of cmd.exe, powershell, schtasks, reg add, vssadmin, wmic, rundll32, certutil and similar
Registry key Text starting HKEY_ or Software\, or containing \CurrentVersion\
File or folder Paths with a drive letter, network paths, folders like %APPDATA%, and names ending .exe, .bat, .ps1, .vbs and similar
Email address Something of the form name@host.ending
Keyword Words such as password, ransom, .onion, bitcoin, keylog, sandbox, vmware, debugger, user-agent

Names of imported DLLs and functions are left out, since “What it can do” already covers them.

Each row shows how many places in the code use that text. Click a row to jump to the first use. If nothing uses it directly, its bytes are shown in the Hex view instead. Up to 40 rows are shown per kind; the rest are in the Text tab.

Programs that do not want their text found often avoid storing it plainly. This section catches the two simplest tricks:

  • Built piece by piece in code. Instead of storing “evil.com”, the program has a run of instructions that each put a few letters on the stack. Karak Studio follows such runs and reassembles the text.
  • Scrambled with XOR. Each byte of the text is combined with one fixed value. Karak Studio looks for common words (http://, cmd.exe, kernel32, Software\ and a few more) in scrambled form, works out the value, and decodes the text around them.

Each row shows the recovered text and how it was hidden. Click a row to go to the code that builds it, or to its bytes.

Finding nothing here does not mean nothing is hidden. Any stronger method, or scrambled text that does not contain one of the known words, will be missed.