{"id":22748217,"url":"https://github.com/githubfoam/ossec-sandbox","last_synced_at":"2026-02-04T00:04:07.827Z","repository":{"id":113754733,"uuid":"224494927","full_name":"githubfoam/ossec-sandbox","owner":"githubfoam","description":"ossec network security monitoring NIDS HIDS","archived":false,"fork":false,"pushed_at":"2019-11-28T15:40:05.000Z","size":26,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T16:44:17.399Z","etag":null,"topics":["hids","network-monitoring","nids","ossec"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/githubfoam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-11-27T18:39:40.000Z","updated_at":"2020-06-25T17:24:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f1862a9-e181-47e6-8f2d-6cba9a3cb1cc","html_url":"https://github.com/githubfoam/ossec-sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/githubfoam/ossec-sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fossec-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fossec-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fossec-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fossec-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/githubfoam","download_url":"https://codeload.github.com/githubfoam/ossec-sandbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fossec-sandbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29062485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T23:14:54.203Z","status":"ssl_error","status_checked_at":"2026-02-03T23:14:50.873Z","response_time":96,"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":["hids","network-monitoring","nids","ossec"],"created_at":"2024-12-11T03:21:17.872Z","updated_at":"2026-02-04T00:04:07.812Z","avatar_url":"https://github.com/githubfoam.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ossec-sandbox\n\n~~~~\nvagrant up\n\ncd /tmp/ossec-hids-3.1.0\nsudo sh install.sh\n\n1- What kind of installation do you want (server, agent, local, hybrid or help)? server\n\n/tmp/ossec-hids-3.1.0$ sudo /var/ossec/bin/ossec-control start\nStarting OSSEC HIDS v3.1.0 (by Trend Micro Inc.)...\nStarted ossec-maild...\nStarted ossec-execd...\nStarted ossec-analysisd...\nStarted ossec-logcollector...\nStarted ossec-remoted...\nStarted ossec-syscheckd...\nStarted ossec-monitord...\nCompleted.\n\n/tmp/ossec-hids-3.1.0$ sudo ls /var/ossec/etc/ossec.conf\n/var/ossec/etc/ossec.conf\n\n/tmp/ossec-hids-3.1.0$ sudo ls /var/ossec/rules/local_rules.xml\n/var/ossec/rules/local_rules.xml\n\n/tmp/ossec-hids-3.1.0$ sudo /var/ossec/bin/ossec-control restart\nDeleting PID file '/var/ossec/var/run/ossec-remoted-1157.pid' not used...\nKilling ossec-monitord ..\nKilling ossec-logcollector ..\nossec-remoted not running ..\nKilling ossec-syscheckd ..\nKilling ossec-analysisd ..\nKilling ossec-maild ..\nKilling ossec-execd ..\nOSSEC HIDS v3.1.0 Stopped\nStarting OSSEC HIDS v3.1.0 (by Trend Micro Inc.)...\nStarted ossec-maild...\nStarted ossec-execd...\nStarted ossec-analysisd...\nStarted ossec-logcollector...\nStarted ossec-remoted...\nStarted ossec-syscheckd...\nStarted ossec-monitord...\nCompleted.\n\n~~~~\n\n~~~~\n$ ls -l /tmp/\ndrwxrwxr-x 7 root    root    4096 Oct 11  2018 ossec-hids-3.1.0\ndrwxr-xr-x 8 root    root    4096 Nov 26 08:58 ossec-wui-master\n\n$ sudo cp -r ossec-wui-master /var/www/html/ossec\n\n:/tmp$ cd /var/www/html/ossec\n:/var/www/html/ossec$ sudo ./setup.sh\n\n/var/www/html/ossec$ sudo ./setup.sh\ntrap: SIGHUP: bad trap\nSetting up ossec ui...\n\nUsername: ossecadmin\nNew password:\nRe-type new password:\nAdding password for user ossecadmin\nEnter your web server user name (e.g. apache, www, nobody, www-data, ...)\nwww-data\nYou must restart your web server after this setup is done.\n\nSetup completed successfully.\n\n\u003chttp://192.168.21.9/ossec\u003e\n~~~~\n~~~~\n\nvagrant@vg-ossec-02:/tmp/ossec-hids-3.1.0$ sudo ./install.sh\n\n1- What kind of installation do you want (server, agent, local, hybrid or help)? agent\n3.1- What's the IP Address or hostname of the OSSEC HIDS server?: 192.168.21.9\n~~~~\nAdd Ossec Agent to the OSSEC Server\n~~~~\nvagrant@vg-ossec-01:~$ sudo /var/ossec/bin/manage_agents\n\n\n\n****************************************\n* OSSEC HIDS v3.1.0 Agent manager.     *\n* The following options are available: *\n****************************************\n   (A)dd an agent (A).\n   (E)xtract key for an agent (E).\n   (L)ist already added agents (L).\n   (R)emove an agent (R).\n   (Q)uit.\nChoose your action: A,E,L,R or Q: A\n\n- Adding a new agent (use '\\q' to return to the main menu).\n  Please provide the following:\n   * A name for the new agent: vg-ossec-02\n   * The IP Address of the new agent: 192.168.21.10\n   * An ID for the new agent[001]:\nAgent information:\n   ID:001\n   Name:vg-ossec-02\n   IP Address:192.168.21.10\n\nConfirm adding it?(y/n): y\nAgent added.\n\n\n****************************************\n* OSSEC HIDS v3.1.0 Agent manager.     *\n* The following options are available: *\n****************************************\n   (A)dd an agent (A).\n   (E)xtract key for an agent (E).\n   (L)ist already added agents (L).\n   (R)emove an agent (R).\n   (Q)uit.\nChoose your action: A,E,L,R or Q: E\n\nAvailable agents:\n   ID: 001, Name: vg-ossec-02, IP: 192.168.21.10\nProvide the ID of the agent to extract the key (or '\\q' to quit): 001\n\nAgent key information for '001' is:\nMDAxIHZnLW9zc2VjLTAyIDE5Mi4xNjguMjEuMTAgNTQyYjg1NzgwMmNhOWM0YmFiYjRkY2RlMWM5ZjNlNWYwYTRjMjY5NDM3N2I5OTlkMTA2YTgzMGZjZGFlMzMxZQ==\n\n~~~~\nImport Key from OSSEC Server\n~~~~\nvagrant@vg-ossec-02:/tmp/ossec-hids-3.1.0$ sudo /var/ossec/bin/manage_agents\n\n\n****************************************\n* OSSEC HIDS v3.1.0 Agent manager.     *\n* The following options are available: *\n****************************************\n   (I)mport key from the server (I).\n   (Q)uit.\nChoose your action: I or Q: I\n\n* Provide the Key generated by the server.\n* The best approach is to cut and paste it.\n*** OBS: Do not include spaces or new lines.\n\nPaste it here (or '\\q' to quit): MDAxIHZnLW9zc2VjLTAyIDE5Mi4xNjguMjEuMTAgNTQyYjg1NzgwMmNhOWM0YmFiYjRkY2RlMWM5ZjNlNWYwYTRjMjY5NDM3N2I5OTlkMTA2YTgzMGZjZGFlMzMxZQ==\n\nAgent information:\n   ID:001\n   Name:vg-ossec-02\n   IP Address:192.168.21.10\n\nConfirm adding it?(y/n): y\nAdded.\n** Press ENTER to return to the main menu\n****************************************\n* OSSEC HIDS v3.1.0 Agent manager.     *\n* The following options are available: *\n****************************************\n   (I)mport key from the server (I).\n   (Q)uit.\nChoose your action: I or Q: Q\n\n** You must restart OSSEC for your changes to take effect.\n\nmanage_agents: Exiting.\nvagrant@vg-ossec-02:/tmp/ossec-hids-3.1.0$ sudo /var/ossec/bin/ossec-control restart\nossec-logcollector not running ..\nossec-syscheckd not running ..\nossec-agentd not running ..\nossec-execd not running ..\nOSSEC HIDS v3.1.0 Stopped\nStarting OSSEC HIDS v3.1.0 (by Trend Micro Inc.)...\nStarted ossec-execd...\n2019/11/26 09:39:35 ossec-agentd: INFO: Using notify time: 600 and max time to reconnect: 1800\nStarted ossec-agentd...\nStarted ossec-logcollector...\nStarted ossec-syscheckd...\nCompleted.\n\n~~~~\n\n~~~~\nvagrant@vg-ossec-01:~$ sudo /var/ossec/bin/ossec-control restart\nKilling ossec-monitord ..\nKilling ossec-logcollector ..\nKilling ossec-remoted ..\nKilling ossec-syscheckd ..\nKilling ossec-analysisd ..\nKilling ossec-maild ..\nKilling ossec-execd ..\nOSSEC HIDS v3.1.0 Stopped\nStarting OSSEC HIDS v3.1.0 (by Trend Micro Inc.)...\nStarted ossec-maild...\nStarted ossec-execd...\nStarted ossec-analysisd...\nStarted ossec-logcollector...\nStarted ossec-remoted...\nStarted ossec-syscheckd...\nStarted ossec-monitord...\nCompleted.\nvagrant@vg-ossec-01:~$ sudo /var/ossec/bin/list_agents -c\nvg-ossec-02-192.168.21.10 is active.\n\n\u003chttp://192.168.21.9/ossec\u003e\n~~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubfoam%2Fossec-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithubfoam%2Fossec-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubfoam%2Fossec-sandbox/lists"}