-
Notifications
You must be signed in to change notification settings - Fork 3
/
meltdown.8
82 lines (82 loc) · 2.16 KB
/
meltdown.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
.\" $OpenBSD$
.\"
.\" Copyright (c) 2018 genua GmbH
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: March 9 2018 $
.Dt MELTDOWN 8
.Os
.Sh NAME
.Nm meltdown
.Nd Meltdown and Spectre PoC for OpenBSD
.Sh SYNOPSIS
.Nm
.Op Fl ms
.Op Fl iqvT
.Op Fl n Ar minrounds
.Op Fl t Ar threshold
.Sh DESCRIPTION
The
.Nm
utility attempts to exploit the Meltdown and Spectre vulnerabilities.
It tries to read information from kernel space by exploiting these CPU flaws.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl m
Only attempt to exploit the Meltdown vulnerability.
.It Fl s
Only attempt to exploit the Spectre vulnerability.
.It Fl i
Outputs the detailed CPU information.
Multiple uses of
.Fl i
increase CPU information details.
.It Fl q
Starts the quick mode.
.It Fl v
Outputs verbose debug information.
Multiple uses of
.Fl v
increase verbosity.
.It Fl T
Don't read kernel memory.
.Nm
attempts to read userspace memory of itself when using this flag.
.It Fl n Ar minrounds
Do at least
.Ar minrounds
rounds to an address.
After
.Ar minrounds
rounds stop if we have at least one cache hit.
One round per address to be read should be enough;
but multiple rounds can help to filter clutter.
The default value is 1.
.It Fl t Ar threshold
Sets the cache hit timing threshold to
.Ar threshold .
.El
.Sh EXIT STATUS
The
.Nm
utility exits 0 if no vulnerability could be exploited.
If an usage error occurs
.Nm
exits 1.
.Sh AUTHORS
The
.Nm
utility was written by
.An Gerhard Roth Aq Mt [email protected] .