Chaz Roman
09/22/2020, 5:51 PMSeth Hanford
09/22/2020, 6:29 PMDan Achin
09/22/2020, 6:50 PMZach Zeid
09/23/2020, 2:20 AMPrasoon Dwivedi
09/23/2020, 11:18 AMfile_events
while keeping process_file_events
enabled. We plan to enable audit based FIM enabled while keeping inotify based FIM disabled?
We want to reduce the resource consumption by reducing the inotify handles opened.Zach Zeid
09/24/2020, 3:11 PMprofile.py
only seems to work on osquery.conf
files, and not files that are just rule packs like incident-response.conf
?Usama Nathani
09/24/2020, 8:34 PMmanikant singh
09/27/2020, 4:12 PMtemplate(
name="OsqueryCsvFormat"
type="string"
string="%timestamp:::date-rfc3339,csv%,%hostname:::csv%,%syslogseverity:::csv%,%syslogfacility-text:::csv%,%syslogtag:::csv%,%msg:::csv%\n"
)
*.* action(type="ompipe" Pipe="/var/osquery/syslog_pipe" template="OsqueryCsvFormat")
3. After that I enabled scheduled queries and everything worked fine. I was able to query process events successfully. (after configuring required flags).
Now, I am trying the same thing with docker container as a host and kolide fleet as server.
I made same changes for this but changed properties as per requirement for TLS .
This time able to make queries from fleet to osqueryd running inside docker container.
But the only issue is with process events. It's doesn't get logged.
I installed rsyslog on container but restart rsyslog doesn't work here.
Finally: My doubt is is rsyslog is really required when kolide fleet is used to schedule process events queries.suppandi
09/28/2020, 4:20 AMGabriel Munoz
09/29/2020, 9:42 PMMacear
09/30/2020, 7:55 AMEsteban
09/30/2020, 7:50 PMjoker
10/01/2020, 8:08 AMHink
10/01/2020, 8:33 PMehrhardt
10/02/2020, 4:53 PMselect * from crontab;
Every-time this query runs, I get the log message Storing initial results for new scheduled query
which means this is behaving like a snapshot query, not a diff query. Any idea how how to troubleshoot or resolve this?theopolis
Prateek Kumar Nischal
10/06/2020, 4:34 PMevents_max=50000
which I don’t think is very tightly related with audit logs.
I don’t have any immediate optimisations to keep the cpu under control and I don’t want to move the watchdog to level -1 (i.e. unbounded). Is there something i can do with this. I am fine for now to drop a few events (I know auditd does that) if there are too many events.Prateek Kumar Nischal
10/06/2020, 4:36 PMtheopolis
Prateek Kumar Nischal
10/06/2020, 5:45 PM// % of (User + System + Idle) CPU time worker can utilize
// for LATENCY_LIMIT seconds.
{WatchdogLimitType::UTILIZATION_LIMIT, {10, 5, 100}},
// Seconds of tolerable UTILIZATION_LIMIT sustained latency.
{WatchdogLimitType::LATENCY_LIMIT, {12, 6, 1000}},
This utilization limit is cpu time considering a single core right.. and utlization limit 100 means osquery is free to fully utilize a single core for itself.abhatem
10/07/2020, 5:54 AMsanjaykcse
10/08/2020, 8:55 AMosquery '.
Program terminated with signal SIGSEGV, Segmentation fault.
warning: Unexpected size of section
.reg-xstate/4862' in core file.
#0 0x00007f43fac971db in ?? ()
[Current thread is 1 (LWP 4862)]
(gdb) bt
#0 0x00007f43fac971db in ?? ()
#1 0x0e24f4832af29500 in ?? ()
#2 0x0e24f4832af29500 in ?? ()
#3 0x00007f43fd415a80 in ?? ()
#4 0x00007f43fd408318 in ?? ()
#5 0x00007f43fd43aa48 in ?? ()
#6 0x00007fff53d99700 in ?? ()
#7 0x00007fff53d997a0 in ?? ()
#8 0x00007f43fb44425a in ?? ()
#9 0x00007f4300000000 in ?? ()
#10 0x00007fff53d99730 in ?? ()
#11 0xffffffffffffffff in ?? ()
#12 0x00007f43fba1ff4d in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb) info r
rax 0xe24f4832af29500 1019208259891008768
rbx 0x7f43fd415a80 139929988455040
rcx 0x7f43f92c2b98 139929919957912
rdx 0x7f43fa28a7b7 139929936504759
rsi 0x0 0
rdi 0x7fff53d995a0 140734600156576
rbp 0x7fff53d99c90 0x7fff53d99c90
rsp 0x7fff53d99540 0x7fff53d99540
r8 0x7fff53d99560 140734600156512
r9 0x7f43f905dda0 139929917447584
r10 0x4e585f3531314758 5645366814972135256
r11 0x7f43f9097f40 139929917685568
r12 0x0 0
r13 0x7f43fd43aa48 139929988606536
r14 0x7f43fa28a7b7 139929936504759
r15 0x7fff53d995a0 140734600156576
rip 0x7f43fac971db 0x7f43fac971db
eflags 0x10246 [ PF ZF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
(gdb) x/i 0x7f43fac971db
=> 0x7f43fac971db: Cannot access memory at address 0x7f43fac971db
(gdb) x/i 0x7fff53d99540
0x7fff53d99540: add %dl,-0xb7cd50e(%rbp)
(gdb) x/i $rsp
0x7fff53d99540: add %dl,-0xb7cd50e(%rbp)
(gdb) x/10x $rsp
0x7fff53d99540: 0x2af29500 0x0e24f483 0x2af29500 0x0e24f483
0x7fff53d99550: 0xfd415a80 0x00007f43 0xfd408318 0x00007f43
0x7fff53d99560: 0xfd43aa48 0x00007f43
(gdb) x/10i $pc
=> 0x7f43fac971db: Cannot access memory at address 0x7f43fac971db
(gdb) x/10x $bsp
Value can't be converted to integer.
(gdb) x/10x $rbp
0x7fff53d99c90: 0xfd43aa10 0x00007f43 0xfd43aa10 0x00007f43
0x7fff53d99ca0: 0x00000001 0x00000000 0x6261740a 0x0000656c
0x7fff53d99cb0: 0x00000000 0x00000000hme
10/08/2020, 1:53 PMfritz
10/09/2020, 4:45 PMAyan
10/09/2020, 4:48 PMAju Mathew Thomas
10/11/2020, 1:31 PMHugh (Zercurity)
10/12/2020, 11:13 AMSELECT physical_memory FROM platform_info;
Usama Nathani
10/12/2020, 5:50 PMMatt Ackard
10/14/2020, 3:27 PMcould not start extension process
error when trying to use a python .ext extension. It only works if I suspend osqueryi and run the extension with python. Any help would be appreciated. The extension is the sample python extension, I'll paste it in threadmanikant singh
10/15/2020, 7:33 PM{
"family": 2,
"fd": 3,
"local_address": "45.55.41.97",
"local_port": 22,
"net_namespace": 4026531957,
"path": "",
"pid": 29831,
"protocol": 6,
"remote_address": "128.199.169.146",
"remote_port": 42266,
"socket": 32357509,
"state": "ESTABLISHED"
}
Thanks for your help.