-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugfwctlRelated to the firewall control extensionRelated to the firewall control extensionosquery-extensionswindows_sync_objectsRelated to the synchronization objects table for WindowsRelated to the synchronization objects table for Windows
Description
I downloaded the official osquery 4.5.0.msi and installed on a Windows 10 system. When running osqueryi.exe using the following
osqueryi.exe --allow_unsafe --extension trailofbits_osquery_extensions.ext.exe
I am getting lots of errors when trying to use any INSERT or DELETE commands in the HostBlacklist or PortBlacklist tables. Any help would be much appreciated.
I have tried on two Windows 10 systems and both are showing the same issue.
osquery> select * from HostBlacklist;
+---------+---------------+-----------+----------------+-----------+
| address | domain | sinkhole | firewall_block | dns_block |
+---------+---------------+-----------+----------------+-----------+
| | www.yahoo.com | 127.0.0.1 | | UNMANAGED |
+---------+---------------+-----------+----------------+-----------+
osquery> DELETE FROM HostBlacklist WHERE domain="www.yahoo.com";
Error: SQL logic error
osquery> DELETE FROM HostBlacklist WHERE domain ="www.yahoo.com";
Error: SQL logic error
osquery> DELETE FROM HostBlacklist WHERE domain = "www.yahoo.com";
Error: SQL logic error
osquery> SELECT domain from HostBlacklist;
+---------------+
| domain |
+---------------+
| www.yahoo.com |
+---------------+
osquery> INSERT INTO HostBlacklist(domain, sinkhole, address_type) VALUES ("www.google.com", "127.0.0.1", "ipv4");
Error: datatype mismatch
osquery>
Metadata
Metadata
Assignees
Labels
bugfwctlRelated to the firewall control extensionRelated to the firewall control extensionosquery-extensionswindows_sync_objectsRelated to the synchronization objects table for WindowsRelated to the synchronization objects table for Windows