|
| 1 | +# |
| 2 | +# /var/log/xrdp-sesman.log -- should be about the same on any linux distro |
| 3 | +# |
| 4 | + |
| 5 | +# failJSON: { "time": "2022-04-07T12:11:06", "match": true, "host": "10.171.161.151"} |
| 6 | +[20220407-12:11:06] [INFO ] AUTHFAIL: user=badtypist ip=::ffff:10.171.161.151 time=1649351466 |
| 7 | + |
| 8 | +# ip injection: 10.171.161.151 should be matched as the host; 192.168.0.1 is an innocent, injected address |
| 9 | +# failJSON: { "time": "2022-04-07T12:11:24", "match": true, "host": "10.171.161.151", "desc": "specifying ip address as username"} |
| 10 | +[20220407-12:11:24] [INFO ] AUTHFAIL: user=192.168.0.1 ip=::ffff:10.171.161.151 time=1649351484 |
| 11 | + |
| 12 | +# ip injection: 10.171.161.151 should be matched as the host; 192.168.0.4 is an innocent, injected address |
| 13 | +# failJSON: { "time": "2022-04-07T12:22:02", "match": true, "host": "10.171.161.151", "desc": "more devious log injection"} |
| 14 | +[20220407-12:22:02] [INFO ] AUTHFAIL: user=loginjector ip=192.168.0.4 time=123456789\n[20220407-12:16:59] [INFO ] AUTHFAIL: user=endinjection ip=::ffff:10.171.161.151 time=1649352122 |
| 15 | + |
| 16 | + |
| 17 | +# |
| 18 | +# /var/log/messages -- RHEL/Fedora family |
| 19 | +# |
| 20 | + |
| 21 | +# failJSON: { "time": "2005-04-07T12:11:06", "match": true, "host": "10.171.161.151"} |
| 22 | +Apr 7 12:11:06 servername xrdp-sesman[41441]: [INFO ] AUTHFAIL: user=badtypist ip=::ffff:10.171.161.151 time=1649351466 |
| 23 | + |
| 24 | +# ip injection: 10.171.161.151 should be matched as the host; 192.168.0.1 is an innocent, injected address |
| 25 | +# failJSON: { "time": "2005-04-07T12:11:24", "match": true, "host": "10.171.161.151", "desc": "specifying ip address as username"} |
| 26 | +Apr 7 12:11:24 servername xrdp-sesman[41441]: [INFO ] AUTHFAIL: user=192.168.0.1 ip=::ffff:10.171.161.151 time=1649351484 |
| 27 | + |
| 28 | +# ip injection: 10.171.161.151 should be matched as the host; 192.168.0.4 is an innocent, injected address |
| 29 | +# failJSON: { "time": "2005-04-07T12:22:02", "match": true, "host": "10.171.161.151", "desc": "more devious log injection"} |
| 30 | +Apr 7 12:22:02 servername xrdp-sesman[41441]: [INFO ] AUTHFAIL: user=loginjector ip=192.168.0.4 time=123456789\n[20220407-12:16:59] [INFO ] AUTHFAIL: user=endinjection ip=::ffff:10.171.161.151 time=1649352122 |
| 31 | + |
| 32 | +# ip injection: innocent, injected ip 192.168.0.4 in a line that shouldn't contain a host |
| 33 | +# failJSON: { "match": false } |
| 34 | +Apr 7 12:22:02 servername xrdp[52415]: [INFO ] xrdp_wm_log_msg: login failed for user loginjector ip=192.168.0.4 time=12345\n[20220407-12:16:59] [INFO ] AUTHFAIL: user=endinjection |
| 35 | + |
| 36 | +# failJSON: { "match": false } |
| 37 | +Apr 7 12:22:02 servername xrdp[52415]: [INFO ] n[20220407-12:16:59] [INFO ] AUTHFAIL: user=endinjection |
0 commit comments