{"id":26659094,"url":"https://github.com/denisecase/dfir-hash-1","last_synced_at":"2026-07-22T11:01:41.488Z","repository":{"id":97697739,"uuid":"400501726","full_name":"denisecase/dfir-hash-1","owner":"denisecase","description":"Run an executable downloaded from the Internet (is this a good idea?)","archived":false,"fork":false,"pushed_at":"2023-03-18T15:43:54.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T11:57:02.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/denisecase.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-27T12:28:01.000Z","updated_at":"2024-06-02T04:25:21.000Z","dependencies_parsed_at":"2023-06-02T19:15:14.185Z","dependency_job_id":null,"html_url":"https://github.com/denisecase/dfir-hash-1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/denisecase/dfir-hash-1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fdfir-hash-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fdfir-hash-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fdfir-hash-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fdfir-hash-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denisecase","download_url":"https://codeload.github.com/denisecase/dfir-hash-1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fdfir-hash-1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35759166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-22T02:00:06.236Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-03-25T10:17:48.408Z","updated_at":"2026-07-22T11:01:41.483Z","avatar_url":"https://github.com/denisecase.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dfir-hash-1\n\n\u003e Mirror 1 - Example of Hosted Executable\n\nBefore running this executable, verify the SHA256 hash is:\n\n`2A858B6EC58BAD78199888EFDDC6B090CFBF223D18A99B49E90E6525B13910AB`\n\n## Running Programs From the Web\n\n* Developers may need to install software found on the web.\n* Installations may involve running executable code on our machine. \n* However, this common practice can be dangerous.\n* Running unchecked executables can introduce viruses and vulnerabilites on our machine.\n* It's important to verify the 'hash values' for a downloaded executable BEFORE running it.\n* A hash provides a calculated value intended to uniquely identify the file contents. \n* Older algorithms like MD5 have sometimes created conflicts. \n* In very rare cases, two different files could have the same MD5 hash value.\n* Newer algorithms like SHA256 are generally considered to create truly unique identifiers.\n\n## Verify Safe Executable File Contents\n\n* Get the executable's correct hash value from the original web site. \n* Calculate the hash value of the downloaded executable. \n* If the two values match, you can safely run the executable.\n\n## Calculate Hash Values w/PowerShell\n\n* PowerShell has a command, [Get-FileHash](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash), that calculates hash values. \n* The default algorithm is SHA256. \n* Open PS as Admin in the folder where your file is. \n* Provide the command and the file name to find the hash.\n\n```PowerShell\nGet-FileHash helperscript.exe\n```\n\n## Calculate Hash Values w/Bash\n\n* Bash has a command, sha256sum, to calculate hash values. \n* Open Bash in the folder where your file is. \n* Provide the command and the file name to find the hash.\n\n```Bash\nsha256sum helperscript.exe\n```\n\n## DFIR\n\n1. Did you keep your computer safe?\n\n## Resources\n\n* Do not use PS2EXE. Executables created with PS2EXE are flagged as dangerous by Windows Defender.\n* [Just For Fun](https://ascii.co.uk/art/skulls)\n* [Mirror 1](https://github.com/denisecase/dfir-hash-1)\n* [Mirror 2](https://github.com/denisecase/dfir-hash-2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisecase%2Fdfir-hash-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenisecase%2Fdfir-hash-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisecase%2Fdfir-hash-1/lists"}