Skip to the content ForoHackers
Log inJoin

Windows: start here

Windows
#3373 · · Quote · Report

Windows is Microsoft's family of operating systems, built on the NT kernel. It runs most desktop computers and a large share of enterprise servers, so a great deal of software and administration work targets it. Its design differs from Unix in important ways: the registry, the object model, services and a rich programming interface.

Key concepts

  • NT architecture: a kernel with a hardware abstraction layer, and subsystems that expose programming interfaces to applications.
  • Registry: a hierarchical database of system and application settings.
  • Services and processes: long-running background programs are managed by a service controller, apart from interactive ones.
  • Access control: security descriptors, tokens and access control lists decide who can do what to each object.
  • Directory and policy: in organisations, Active Directory and group policy manage users and machines centrally.

Vocabulary

  • Win32 API: the long-standing programming interface for Windows applications.
  • DLL: a dynamic-link library, code loaded by programs at run time.
  • PowerShell: the shell and scripting language that passes objects, not just text, through pipelines.
  • Event log: the structured system record of what happened and when.

What to study, in order

  1. Learn the system's own tools: task manager, event viewer, services, disk management.
  2. Write PowerShell scripts that list processes, services and files, and filter the objects.
  3. Explore the registry in a virtual machine and see how settings map to behaviour.
  4. Read how permissions and access control lists work, and inspect them on a test folder.
  5. Write a small program against the Win32 API, such as one that enumerates windows or processes.

Related tags

#dotnet #shell #sysadmin #kernels #virtualization

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply