Closed davidjiglesias closed 5 months ago
root@macos-14 ~ # /Library/Ossec/bin/wazuh-control info
WAZUH_VERSION="v4.7.4"
WAZUH_REVISION="40717"
WAZUH_TYPE="agent"
root@macos-14 ~ # cat /Library/Ossec/logs/upgrade.log
2024/05/30 12:10:51 - Generating Backup.
tar: Removing leading '/' from member names
a Library/Ossec/active-response
a Library/Ossec/active-response/bin
a Library/Ossec/active-response/bin/restart.sh
a Library/Ossec/active-response/bin/firewall-drop
a Library/Ossec/active-response/bin/host-deny
a Library/Ossec/active-response/bin/firewalld-drop
a Library/Ossec/active-response/bin/kaspersky.py
a Library/Ossec/active-response/bin/default-firewall-drop
a Library/Ossec/active-response/bin/npf
a Library/Ossec/active-response/bin/pf
a Library/Ossec/active-response/bin/ip-customblock
a Library/Ossec/active-response/bin/ipfw
a Library/Ossec/active-response/bin/route-null
a Library/Ossec/active-response/bin/restart-wazuh
a Library/Ossec/active-response/bin/wazuh-slack
a Library/Ossec/active-response/bin/kaspersky
a Library/Ossec/active-response/bin/disable-account
a Library/Ossec/bin
a Library/Ossec/bin/wazuh-control
a Library/Ossec/bin/wazuh-logcollector
a Library/Ossec/bin/wazuh-execd
a Library/Ossec/bin/wazuh-syscheckd
a Library/Ossec/bin/manage_agents
a Library/Ossec/bin/agent-auth
a Library/Ossec/bin/wazuh-agentd
a Library/Ossec/bin/wazuh-modulesd
a Library/Ossec/etc
a Library/Ossec/etc/internal_options.conf
a Library/Ossec/etc/wpk_root.pem
a Library/Ossec/etc/localtime
a Library/Ossec/etc/shared
a Library/Ossec/etc/ossec.conf
a Library/Ossec/etc/local_internal_options.conf
a Library/Ossec/etc/client.keys
a Library/Ossec/etc/shared/cis_win2012r2_memberL1_rcl.txt
a Library/Ossec/etc/shared/win_audit_rcl.txt
a Library/Ossec/etc/shared/rootkit_trojans.txt
a Library/Ossec/etc/shared/agent.conf
a Library/Ossec/etc/shared/cis_win2012r2_domainL1_rcl.txt
a Library/Ossec/etc/shared/cis_rhel6_linux_rcl.txt
a Library/Ossec/etc/shared/cis_win2012r2_memberL2_rcl.txt
a Library/Ossec/etc/shared/cis_apache2224_rcl.txt
a Library/Ossec/etc/shared/win_applications_rcl.txt
a Library/Ossec/etc/shared/cis_win2012r2_domainL2_rcl.txt
a Library/Ossec/etc/shared/cis_rhel5_linux_rcl.txt
a Library/Ossec/etc/shared/cis_debian_linux_rcl.txt
a Library/Ossec/etc/shared/system_audit_rcl.txt
a Library/Ossec/etc/shared/merged.mg
a Library/Ossec/etc/shared/win_malware_rcl.txt
a Library/Ossec/etc/shared/ar.conf
a Library/Ossec/etc/shared/cis_rhel7_linux_rcl.txt
a Library/Ossec/etc/shared/cis_mysql5-6_enterprise_rcl.txt
a Library/Ossec/etc/shared/system_audit_ssh.txt
a Library/Ossec/etc/shared/cis_mysql5-6_community_rcl.txt
a Library/Ossec/etc/shared/cis_sles12_linux_rcl.txt
a Library/Ossec/etc/shared/cis_rhel_linux_rcl.txt
a Library/Ossec/etc/shared/rootkit_files.txt
a Library/Ossec/etc/shared/cis_sles11_linux_rcl.txt
a Library/Ossec/lib
a Library/Ossec/lib/libfimdb.dylib
a Library/Ossec/lib/libwazuhshared.dylib
a Library/Ossec/lib/libsysinfo.dylib
a Library/Ossec/lib/libdbsync.dylib
a Library/Ossec/lib/librsync.dylib
a Library/Ossec/lib/libsyscollector.dylib
a Library/Ossec/lib/libwazuhext.dylib
a Library/Ossec/queue
a Library/Ossec/queue/sockets
a Library/Ossec/queue/alerts
a Library/Ossec/queue/syscollector
a Library/Ossec/queue/fim
a Library/Ossec/queue/logcollector
a Library/Ossec/queue/rids
a Library/Ossec/queue/rids/sender_counter
a Library/Ossec/queue/rids/001
a Library/Ossec/queue/logcollector/file_status.json
a Library/Ossec/queue/fim/db
a Library/Ossec/queue/fim/db/fim.db-journal
a Library/Ossec/queue/fim/db/fim.db
a Library/Ossec/queue/syscollector/db
a Library/Ossec/queue/syscollector/norm_config.json
a Library/Ossec/queue/syscollector/db/local.db-journal
a Library/Ossec/queue/syscollector/db/local.db
a Library/Ossec/queue/alerts/execqtar: Library/Ossec/queue/alerts/execq: Library/Ossec/queue/alerts/execq: pax format cannot archive sockets
a Library/Ossec/queue/alerts/cfgaqtar: Library/Ossec/queue/alerts/cfgaq: Library/Ossec/queue/alerts/cfgaq: pax format cannot archive sockets
a Library/Ossec/queue/sockets/syschecktar: Library/Ossec/queue/sockets/syscheck: Library/Ossec/queue/sockets/syscheck: pax format cannot archive sockets
a Library/Ossec/queue/sockets/upgradetar: Library/Ossec/queue/sockets/upgrade: Library/Ossec/queue/sockets/upgrade: pax format cannot archive sockets
a Library/Ossec/queue/sockets/wmodulestar: Library/Ossec/queue/sockets/wmodules: Library/Ossec/queue/sockets/wmodules: pax format cannot archive sockets
a Library/Ossec/queue/sockets/queuetar: Library/Ossec/queue/sockets/queue: Library/Ossec/queue/sockets/queue: pax format cannot archive sockets
a Library/Ossec/queue/sockets/.agent_info
a Library/Ossec/queue/sockets/logcollectortar: Library/Ossec/queue/sockets/logcollector: Library/Ossec/queue/sockets/logcollector: pax format cannot archive sockets
a Library/Ossec/queue/sockets/controltar: Library/Ossec/queue/sockets/control: Library/Ossec/queue/sockets/control: pax format cannot archive sockets
a Library/Ossec/queue/sockets/comtar: Library/Ossec/queue/sockets/com: Library/Ossec/queue/sockets/com: pax format cannot archive sockets
a Library/Ossec/ruleset
a Library/Ossec/ruleset/sca
a Library/Ossec/ruleset/sca/cis_apple_macOS_14.0.yml
a Library/Ossec/wodles
a Library/Ossec/wodles/gcloud
a Library/Ossec/wodles/docker
a Library/Ossec/wodles/azure
a Library/Ossec/wodles/init.py
a Library/Ossec/wodles/utils.py
a Library/Ossec/wodles/aws
a Library/Ossec/wodles/aws/aws-s3
a Library/Ossec/wodles/azure/orm.py
a Library/Ossec/wodles/azure/azure-logs
a Library/Ossec/wodles/docker/DockerListener
a Library/Ossec/wodles/gcloud/gcloud
a Library/Ossec/wodles/gcloud/buckets
a Library/Ossec/wodles/gcloud/tools.py
a Library/Ossec/wodles/gcloud/integration.py
a Library/Ossec/wodles/gcloud/pubsub
a Library/Ossec/wodles/gcloud/exceptions.py
a Library/Ossec/wodles/gcloud/pubsub/subscriber.py
a Library/Ossec/wodles/gcloud/buckets/bucket.py
a Library/Ossec/wodles/gcloud/buckets/access_logs.py
a Library/Ossec/agentless
a Library/Ossec/agentless/ssh.exp
a Library/Ossec/agentless/ssh_pixconfig_diff
a Library/Ossec/agentless/ssh_integrity_check_bsd
a Library/Ossec/agentless/ssh_generic_diff
a Library/Ossec/agentless/ssh_integrity_check_linux
a Library/Ossec/agentless/ssh_asa-fwsmconfig_diff
a Library/Ossec/agentless/main.exp
a Library/Ossec/agentless/ssh_nopass.exp
a Library/Ossec/agentless/ssh_foundry_diff
a Library/Ossec/agentless/register_host.sh
a Library/Ossec/agentless/sshlogin.exp
a Library/Ossec/agentless/su.exp
a Library/Ossec/logs/wazuh
a Library/Ossec/var/selinux
a Library/LaunchDaemons/com.wazuh.agent.plist
a Library/StartupItems/WAZUH
a Library/StartupItems/WAZUH/Wazuh-launcher
a Library/StartupItems/WAZUH/StartupParameters.plist
a Library/StartupItems/WAZUH/WAZUH
2024/05/30 12:10:52 - Backup generated in /Library/Ossec/backup/backup_[05-30-2024_12-10-51].tar.gz
2024/05/30 12:10:52 - Upgrade started.
installer: Package name is Wazuh Agent
installer: Upgrading at base path /
installer: The upgrade was successful.
2024/05/30 12:11:07 - Installation result = 0
2024/05/30 12:11:07 - Waiting connection... Remaining attempts: 30.
2024/05/30 12:11:08 - Status = connected.
2024/05/30 12:11:08 - Connected to manager.
2024/05/30 12:11:08 - Upgrade finished successfully.
root@macos-14 ~ # /Library/Ossec/bin/wazuh-control info
WAZUH_VERSION="v4.7.5"
WAZUH_REVISION="40720"
WAZUH_TYPE="agent"
root@macos-14 ~ #
[root@ip-172-31-42-103 centos]# /var/ossec/bin/agent_control -i 001
Wazuh agent_control. Agent information:
Agent ID: 001
Agent Name: macos-14
IP address: any
Status: Active
Operating system: Darwin |macos-14 |23.4.0 |Darwin Kernel Version 23.4.0: Fri Mar 15 00:11:05 PDT 2024; root:xnu-10063.101.17~1/RELEASE_X86_64 |x86_64
Client version: Wazuh v4.7.5
Configuration hash: ab73af41699f13fdd81903b5f23d8d00
Shared file hash: 4a8724b20dee0124ff9656783c490c4e
Last keep alive: 1717096785
Syscheck last started at: Thu May 30 19:11:01 2024
Syscheck last ended at: Thu May 30 19:11:10 2024
[root@ip-172-31-42-103 centos]# /var/ossec/bin/agent_upgrade -a 001
Upgrading...
Failed upgrades:
Agent 001 status: Timeout reached while waiting for the response from the agent
LGTM!
LGTM!
Description
This issue attempts to ensure the publication process was correct, attempting checks and live tests for published packages and images.
Tasks
Wazuh Installation Assistant
and check the version installed is 4.7.5.