Commit Graph

90 Commits

Author SHA1 Message Date
Russell Hancox
e7cb5703f2 Tidy up event UI 2015-02-02 17:05:16 -05:00
Russell Hancox
54ffbf40d6 Ensure kernel cache is flushed if rules are added which are not whitelisting 2015-02-02 17:04:37 -05:00
Russell Hancox
101c9d2b1f Event Table: rename a method, simplify event decoding, lowercase all table fields 2015-02-02 17:04:06 -05:00
Russell Hancox
ce9af3d019 santactl/sync: Simplify cert signing chain in event upload. 2015-02-02 17:02:55 -05:00
Russell Hancox
d11b137f9b santactl/sync: Don't attempt to apply rules until all have been downloaded 2015-02-02 17:02:08 -05:00
Russell Hancox
9d1117b0c7 SNTExecutionController: Change logging separator from comma to pipe. Also use logDecision when out of scope 2015-02-02 17:00:30 -05:00
Russell Hancox
ee9a7f635a Move from Certificate SHA-1 to SHA-256 2015-02-02 16:59:04 -05:00
Russell Hancox
63c6e4f852 santactl binaryinfo: Add Cert SHA-256 2015-02-02 13:21:34 -05:00
Russell Hancox
b728ea3077 Rename SNTBinaryInfo -> SNTFileInfo, add more tests 2015-01-31 17:54:29 -05:00
Russell Hancox
a98bd00492 Unify path-standardizing into SNTBinaryInfo 2015-01-30 18:56:43 -05:00
Russell Hancox
6aeae5f1b6 santactl rule: print if rule is being deleted 2015-01-30 18:45:12 -05:00
Russell Hancox
7a03183cf0 Update Copyright years 2015-01-30 18:41:12 -05:00
Russell Hancox
6b743015a0 santactl rule: Correctly show rule SHA-256 2015-01-30 18:31:30 -05:00
Russell Hancox
b095625972 Remove SNTNotificationMessage, use SNTStoredEvent for that purpose instead. 2015-01-30 18:31:17 -05:00
Russell Hancox
98adf9c2c1 Update SNTRule and SNTStoredEvent encoding/decoding 2015-01-30 18:29:45 -05:00
Russell Hancox
c447eb959b More comment fixes 2015-01-30 17:28:32 -05:00
Russell Hancox
801d2b241a CommonEnums: Add ALLOW_SCOPE and BLOCK_SCOPE 2015-01-30 17:28:21 -05:00
Russell Hancox
42684387c5 Kernel: Rename RESPONSE_VALID macro to CHECKBW_RESPONSE_VALID 2015-01-30 17:28:04 -05:00
Russell Hancox
a66255aa8f Events: store event in archived form in database, store & upload entire signing chain rather than just leaf, rename eventsPendingCount, add unit tests. 2015-01-30 17:27:34 -05:00
Russell Hancox
30d335658c More missed SHA-1 references 2015-01-29 19:55:03 -05:00
Russell Hancox
20a7d6074f Missed a few SHA-1 references 2015-01-29 12:33:57 -05:00
Russell Hancox
f8273555a4 santactl: Binaryinfo detects bundles 2015-01-28 23:28:41 -05:00
Russell Hancox
a607136a0d Add logging of out-of-scope files 2015-01-28 23:20:16 -05:00
Russell Hancox
1117b28d8d Change RuleDownload JSON to refer to shasum for rule instead of sha1 2015-01-28 22:20:55 -05:00
Russell Hancox
72811e5546 SNTXPCConnection: break loop when rejecting 2015-01-28 22:01:50 -05:00
Russell Hancox
22e5ffa1f1 SNTEventTable, rename from indexes to id 2015-01-28 21:28:59 -05:00
Russell Hancox
8b671ea2cd Remove DebugLogging config option, change to --debug flag instead. 2015-01-28 21:28:40 -05:00
Russell Hancox
ecbd92646d Update all docstrings to triple-slash doxygen style 2015-01-28 21:28:17 -05:00
Russell Hancox
b946598f7b Remove unused method from SNTEventTable 2015-01-28 19:13:00 -05:00
Russell Hancox
b30696b8a3 Fix alignment in SNTCommandSync.m 2015-01-28 19:13:00 -05:00
Russell Hancox
ae74a61a7e Add SHA-256 output to santactl binaryinfo command 2015-01-28 19:13:00 -05:00
Russell Hancox
2ae9229a6b Remove SHA-1 import in kernel 2015-01-28 19:12:59 -05:00
Russell Hancox
95a334dbaf Remove bundle icon from notification window 2015-01-28 19:12:59 -05:00
Russell Hancox
6335a02404 Move to SHA-256 hashing 2015-01-28 19:12:59 -05:00
Russell Hancox
5c9cceec35 common: Add SHA-256 to binaryinfo 2015-01-28 19:12:06 -05:00
Russell Hancox
71b08307a3 Driver: Move SHA-1 calculation to userland 2015-01-28 19:12:06 -05:00
Russell Hancox
180c8f2226 SNTCertificate: add SHA-256 hashing 2015-01-23 16:46:09 -05:00
Russell Hancox
2305ec578c More comment string updates 2015-01-23 16:45:54 -05:00
Russell Hancox
2f735dc716 Grr. Tabs. 2015-01-20 19:06:31 -05:00
Russell Hancox
afca026c12 SNTConfigurator: NSPropertyListSerialization argument should be NULL instead of nil 2015-01-20 19:05:32 -05:00
Russell Hancox
1447fd8789 SNTConfigurator: Make configFilePath configurable, try to enforce permissions on config file, use NSPropertyListSerialization instead of CFPropertyListCreateWithData 2015-01-20 18:59:45 -05:00
Russell Hancox
ccd871cfdd santactl: Simplify protocol and daemonConn handling 2015-01-20 18:58:40 -05:00
Russell Hancox
407466cd5f Update SNTXPCConnection's wait-during-resume and utilize it in SNTCommandController 2015-01-20 18:58:08 -05:00
Russell Hancox
ba9340d30d Some doxygen comment cleanups 2015-01-20 18:57:14 -05:00
Russell Hancox
a7715e3ce2 santad: Fix long-standing bug where santad won't finish shutting down when kext goes away 2015-01-14 18:37:46 -05:00
Russell Hancox
1a8cd79bf9 SNTXPCConnection: sleep for up to 5s during resume in clients to avoid sending messages during validation 2015-01-14 11:43:31 -05:00
Russell Hancox
a560c84cdc SNTBinaryInfo: Add downloadURLs method 2015-01-13 18:27:02 -05:00
Russell Hancox
4e0cfeb16d Driver: add missing debug log when process listener stops 2015-01-13 16:32:08 -05:00
Russell Hancox
195ba4d918 santactl status: don't block infinitely if daemonConn is nil 2015-01-13 16:16:03 -05:00
Russell Hancox
7458896a2a Driver: send down ppid to daemon 2015-01-13 16:08:29 -05:00