{"id":21400579,"url":"https://github.com/cybersecurityup/directsyscall-example","last_synced_at":"2026-02-14T01:38:36.115Z","repository":{"id":248450831,"uuid":"828720032","full_name":"CyberSecurityUP/DirectSyscall-Example","owner":"CyberSecurityUP","description":"Example of direct syscalls in Windows using NtOpenFile and NtClose Syscalls","archived":false,"fork":false,"pushed_at":"2024-07-15T01:48:57.000Z","size":201,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T17:54:21.447Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyberSecurityUP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-15T01:38:34.000Z","updated_at":"2025-08-31T13:22:27.000Z","dependencies_parsed_at":"2024-07-15T02:47:48.905Z","dependency_job_id":"08d1f2ea-010d-44d0-959c-6a2539634410","html_url":"https://github.com/CyberSecurityUP/DirectSyscall-Example","commit_stats":null,"previous_names":["cybersecurityup/directsyscall-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CyberSecurityUP/DirectSyscall-Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FDirectSyscall-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FDirectSyscall-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FDirectSyscall-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FDirectSyscall-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyberSecurityUP","download_url":"https://codeload.github.com/CyberSecurityUP/DirectSyscall-Example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FDirectSyscall-Example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29429550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"ssl_error","status_checked_at":"2026-02-13T22:20:49.838Z","response_time":78,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T15:23:06.675Z","updated_at":"2026-02-14T01:38:36.073Z","avatar_url":"https://github.com/CyberSecurityUP.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DirectSyscall-Example\n\nExample of how to use direct syscalls in a Windows environment. The example demonstrates opening and closing a file using the NtOpenFile and NtClose syscalls defined in assembly and called from C.\n\n## Overview\n\nThe project consists of the following components:\n\n- Assembly Code (direct_syscalls.asm): Defines the syscall procedures for NtOpenFile and NtClose.\n- Header File (syscalls.h): Declares the external syscall numbers and function prototypes.\n- C Code (DirectSyscall.cpp): Implements the main logic to get syscall numbers, initialize structures, and call the syscalls to open and close a file.\n\nReferences:\n\n[Configure your Setup Assembly](https://programminghaven.home.blog/2020/02/16/setup-an-assembly-project-on-visual-studio-2019/)\n\n[Others Example Code Direct Syscall by VirtualAlllocEx](https://github.com/VirtualAlllocEx/Direct-Syscalls-vs-Indirect-Syscalls)\n\n\n## TO-DO\n- Indirect Syscall Example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybersecurityup%2Fdirectsyscall-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybersecurityup%2Fdirectsyscall-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybersecurityup%2Fdirectsyscall-example/lists"}