<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LaForge's home page (Posts about security)</title><link>https://laforge.gnumonks.org/</link><description></description><atom:link href="https://laforge.gnumonks.org/blog/tags/security.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Thu, 24 Oct 2024 20:08:49 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Osmocom - personal thoughts</title><link>https://laforge.gnumonks.org/blog/20170321-osmocom/</link><dc:creator>Harald Welte</dc:creator><description>&lt;p&gt;As I just wrote in my &lt;a class="reference external" href="https://laforge.gnumonks.org/blog/20170321-telcosecday-2017/"&gt;post about TelcoSecDay&lt;/a&gt;, I sometimes
worry about the choices I made with Osmocom, particularly when I see
all the great stuff people doing in fields that I previously was working
in, such as applied IT security as well as Linux Kernel development.&lt;/p&gt;
&lt;section id="history"&gt;
&lt;h2&gt;History&lt;/h2&gt;
&lt;p&gt;When people like Dieter, Holger and I started to play with what later
became OpenBSC, it was just for fun.  A challenge to master.  A closed
world to break open and which to attack with the tools, the mindset and
the values that we brought with us.&lt;/p&gt;
&lt;p&gt;Later, Holger and I started to do freelance development for commercial
users of Osmocom (initially basically only OpenBSC, but then OsmoSGSN,
OsmoBSC, OsmoBTS, OsmoPCU and all the other bits on the infrastructure
side). This lead to the creation of sysmocom in 2011, and ever since we
are trying to use revenue from hardware sales as well as development
contracts to subsidize and grow the Osmocom projects.  We're investing
most of our earnings directly into more staff that in turn works on
Osmocom related projects.&lt;/p&gt;
&lt;aside class="admonition admonition-note"&gt;
&lt;p class="admonition-title"&gt;NOTE&lt;/p&gt;
&lt;p&gt;It's important to draw the distinction betewen the &lt;a class="reference external" href="http://osmocom.org/projects/cellular-infrastructure"&gt;Osmocom cellular
infrastructure&lt;/a&gt; projects
which are mostly driven by commercial users and sysmocom these days,
and all the many other pure juts-for-fun community projects under
the Osmocom umbrella, like OsmocomTETRA, OsmocomGMR, rtl-sdr, etc.
I'm focussing only on the cellular infrastructure projects, as they
are in the center of my life during the past 6+ years.&lt;/p&gt;
&lt;/aside&gt;
&lt;p&gt;In order to do this, I basically gave up my previous career[s] in IT
security and Linux kernel development (as well as put things like
gpl-violations.org on hold).  This is a big price to pay for crating
more FOSS in the mobile communications world, and sometimes I'm a bit
melancholic about the "old days" before.&lt;/p&gt;
&lt;p&gt;Financial wealth is clearly not my primary motivation, but let me be
honest: I could have easily earned a shitload of money continuing to do
freelance Linux kernel development, IT security or related consulting.
There's a lot of demand for related skills, particularly with some
experience and reputation attached.  But I decided against it, and
worked several years without a salary (or almost none) on Osmocom
related stuff [as did Holger].&lt;/p&gt;
&lt;p&gt;But then, even with all the sacrifices made, and the amount of revenue
we can direct from sysmocom into Osmocom development: The complexity of
cellular infrastructure vs. the amount of funding and resources is always
only a fraction of what one would normally want to have to do a proper
implementation.  So it's constant resource shortage, combined with lots
of unpaid work on those areas that are on the immediate short-term
feature list of customers, and that nobody else in the community feels
like he wants to work on.  And that can be a bit frustrating at times.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="is-it-worth-it"&gt;
&lt;h2&gt;Is it worth it?&lt;/h2&gt;
&lt;p&gt;So after 7 years of OpenBSC, OsmocomBB and all the related projects, I'm
sometimes asking myself whether it has been worth the effort, and
whether it was the right choice.&lt;/p&gt;
&lt;p&gt;It was right from the point that cellular technology is still an area
that's obscure and unknown to many, and that has very little FOSS
(though Improving!).  At the same time, cellular networks are becoming
more and more essential to many users and applications.  So on an
abstract level, I think that every step in the direction of FOSS for
cellular is as urgently needed as before, and we have had quite some
success in implementing many different protocols and network elements.
Unfortunately, in most cases incompletely, as the amount of funding
and/or resources were always extremely limited.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="satisfaction-happiness"&gt;
&lt;h2&gt;Satisfaction/Happiness&lt;/h2&gt;
&lt;p&gt;On the other hand, when it comes to metrics such as &lt;em&gt;personal
satisfaction&lt;/em&gt; or &lt;em&gt;professional pride&lt;/em&gt;, I'm not very happy or satisfied.
The community remains small, the commercial interest remains limited,
and as opposed to the Linux world, most players have a complete lack of
understanding that FOSS is not a one-way road, but that it is important
for all stakeholders to contribute to the development in terms of
development resources.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="project-success"&gt;
&lt;h2&gt;Project success?&lt;/h2&gt;
&lt;p&gt;I think a collaborative development project (which to me is what FOSS is
about) is only then truly successful, if its success is not related to
a single individual, a single small group of individuals or a single
entity (company).  And no matter how much I would like the above to be
the case, it is not true for the Osmocom cellular infrastructure
projects.  Take away Holger and me, or take away sysmocom, and I think
it would be pretty much dead.  And I don't think I'm exaggerating here.
This makes me sad, and after all these years, and after knowing quite a
number of commercial players using our software, I would have hoped that
the project rests on many more shoulders by now.&lt;/p&gt;
&lt;p&gt;This is not to belittle the efforts of all the people contributing to
it, whether the team of developers at sysmocom, whether those in the
community that still work on it 'just for fun', or whether those
commercial users that contract sysmocom for some of the work we do.
Also, there are known and unknown donors/funders, like the NLnet
foundation for some parts of the work.  Thanks to all of you, and
clearly we wouldn't be where we are now without all of that!&lt;/p&gt;
&lt;p&gt;But I feel it's not sufficient for the overall scope, and it's not [yet]
sustainable at this point.  We need more support from all sides,
particularly those not currently contributing.  From vendors of BTSs and
related equipment that use Osmocom components.  From operators that use
it.  From individuals.  From academia.&lt;/p&gt;
&lt;p&gt;Yes, we're making progress.  I'm happy about new developments like the
Iu and Iuh support, &lt;a class="reference external" href="https://osmocom.org/news/67"&gt;the OsmoHLR/VLR split and 2G/3G authentication&lt;/a&gt; that Neels just blogged about.  And
there's progress on the SIMtrace2 firmware with card emulation and MITM,
just as well as there's progress on libosmo-sigtran (with a more
complete SUA, M3UA and connection-oriented SCCP stack), etc.&lt;/p&gt;
&lt;p&gt;But there are too little people working on this, and those people are
mostly coming from one particular corner, while most of the [commercial]
users do not contribute the way you would expect them to contribute in
collaborative FOSS projects.  You can argue that most people in the
Linux world also don't contribute, but then the large commercial
beneficiaries (like the chipset and hardware makers) mostly do, as are
the large commercial users.&lt;/p&gt;
&lt;p&gt;All in all, I have the feeling that Osmocom is as important as it
ever was, but it's not grown up yet to really walk on its own feet.  It
may be able to crawl, though ;)&lt;/p&gt;
&lt;p&gt;So for now, don't panic.  I'm not suffering from burn-out, mid-life
crisis and I don't plan on any big changes of where I put my energy: It
will continue to be Osmocom.  But I also think we have to have a more
open discussion with everyone on how to move beyond the current
situation.  There's no point in staying quiet about it, or to claim that
everything is fine the way it is.  We need more commitment.  Not from
the people already actively involved, but from those who are not [yet].&lt;/p&gt;
&lt;p&gt;If that doesn't happen in the next let's say 1-2 years, I think it's
fair that I might seriously re-consider in which field and in which way
I'd like to dedicate my [I would think considerable] productive energy and
focus.&lt;/p&gt;
&lt;/section&gt;</description><category>gsm</category><category>security</category><guid>https://laforge.gnumonks.org/blog/20170321-osmocom/</guid><pubDate>Tue, 21 Mar 2017 11:00:00 GMT</pubDate></item><item><title>Returning from TelcoSecDay 2017 / General Musings</title><link>https://laforge.gnumonks.org/blog/20170321-telcosecday-2017/</link><dc:creator>Harald Welte</dc:creator><description>&lt;p&gt;I'm just on my way back from the &lt;cite&gt;Telecom Security Day 2017
&amp;lt;https://www.troopers.de/troopers17/telco-sec-day/&amp;gt;&lt;/cite&gt;, which is an
invitation-only event about telecom security issues hosted by ERNW
back-to-back with their &lt;cite&gt;Troopers 2017 &amp;lt;https://www.troopers.de/troopers17/&amp;gt;&lt;/cite&gt;
conference.&lt;/p&gt;
&lt;p&gt;I've been presenting at TelcoSecDay in previous years and hence was
again invited to join (as attendee).  The event has really gained quite
some traction.  Where early on you could find lots of IT security /
hacker crowds, the number of participants from the operator (and to
smaller extent also equipment maker) industry has been growing.&lt;/p&gt;
&lt;p&gt;The quality of talks was great, and I enjoyed meeting various familiar
faces.  It's just a pity that it's only a single day - plus I had to
head back to Berlin still today so I had to skip the dinner + social
event.&lt;/p&gt;
&lt;p&gt;When attending events like this, and seeing the interesting hacks that
people are working on, it pains me a bit that I haven't really been
doing much security work in recent years.  netfilter/iptables was at
least somewhat security related.  My work on OpenPCD / librfid was
clearly RFID security oriented, as was the work on airprobe,
OsmocomTETRA, or even the &lt;a class="reference external" href="https://media.ccc.de/v/27c3-4036-en-reverse_engineering_a_real_word_rfid_payment_system"&gt;EasyCard payment system hack&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have the same feeling when attending Linux kernel development related
events.  I have very fond memories of working in both fields, and it was
a lot of fun.  Also, to be honest, I believe that the work in Linux
kernel land and the general IT security research was/is appreciated much
more than the endless months and years I'm now spending my time with
improving and extending the Osmocom cellular infrastructure stack.&lt;/p&gt;
&lt;p&gt;Beyond the appreciation, it's also the fact that both the IT security
and the Linux kernel communities are much larger.  There are more
people to learn from and learn with, to engage in discussions and
ping-pong ideas.  In Osmocom, the community is too small (and I have the
feeling, it's actually shrinking), and in many areas it rather seems
like I am the "ultimate resource" to ask, whether about 3GPP specs or
about Osmocom code structure.  What I'm missing is the feeling of being
part of a bigger community.  So in essence, my current role in the "Open
Source Cellular" corner can be a very lonely one.&lt;/p&gt;
&lt;p&gt;But hey, I don't want to sound more depressed than I am, this was
supposed to be a post about TelcoSecDay.  It just happens that attending
IT Security and/or Linux Kernel events makes me somewhat gloomy for the
above-mentioned reasons.&lt;/p&gt;
&lt;p&gt;Meanwhile, if you have some interesting projcets/ideas at the border
between cellular protocols/systems and security, I'd of course love to
hear if there's some way to get my hands dirty in that area again :)&lt;/p&gt;</description><category>cellular</category><category>gsm</category><category>lte</category><category>security</category><category>telecom</category><guid>https://laforge.gnumonks.org/blog/20170321-telcosecday-2017/</guid><pubDate>Tue, 21 Mar 2017 10:00:00 GMT</pubDate></item><item><title>The IT security culture, hackers vs. industry consortia</title><link>https://laforge.gnumonks.org/blog/20161206-it_security_culture_telecoms/</link><dc:creator>Harald Welte</dc:creator><description>&lt;p&gt;In a previous life I used to do a lot of IT security work, probably even
at a time when most people had no idea what IT security actually is. I
grew up with the Chaos Computer Club, as it was a great place to meet
people with common interests, skills and ethics.  People were hacking
(aka 'doing security research') for fun, to grow their skills, to
advance society, to point out corporate stupidities and to raise
awareness about issues.&lt;/p&gt;
&lt;p&gt;I've always shared any results worth noting with the general public.
Whether it was in RFID security, on GSM security, TETRA security, etc.&lt;/p&gt;
&lt;p&gt;Even more so, I always shared the tools, creating free software
implementations of systems that - at that time - were very difficult to
impossible to access unless you worked for the vendors of related
device, who obviously had a different agenda then to disclose security
concerns to the general public.&lt;/p&gt;
&lt;p&gt;Publishing security related findings at related conferences can be
interpreted in two ways:&lt;/p&gt;
&lt;p&gt;On the one hand, presenting at a major event will add to your
credibility and reputation.  That's a nice byproduct, but that shouldn't
be the primarily reason, unless you're some kind of a egocentric stage
addict.&lt;/p&gt;
&lt;p&gt;On the other hand, presenting findings or giving any kind of
presentation or lecture at an event is a statement of support for that
event.  When I submit a presentation at a given event, I think carefully
if that topic actually matches the event.&lt;/p&gt;
&lt;p&gt;The reason that I didn't submit any talks in recent years at CCC events
is not that I didn't do technically exciting stuff that I could talk
about - or that I wouldn't have the reputation that would make people
consider my submission in the programme committee.  I just thought there
was nothing in my work relevant enough to bother the CCC attendees with.&lt;/p&gt;
&lt;p&gt;So when Holger 'zecke' Freyther and I chose to present about our recent
journeys into exploring modern cellular modems at the annual Chaos
Communications Congress, we did so because the CCC Congress is the right
audience for this talk.  We did so, because we think the people there
are the kind of community of like-minded spirits that we would like to
contribute to.  Whom we would like to give something back, for the many
years of excellent presentations and conversations had.&lt;/p&gt;
&lt;p&gt;So far so good.&lt;/p&gt;
&lt;p&gt;However, in 2016, something happened that I haven't seen yet in my 17
years of speaking at Free Software, Linux, IT Security and other
conferences: A select industry group (in this case the GSMA) asking me
out of the blue to give them the talk one month in advance at a private
industry event.&lt;/p&gt;
&lt;p&gt;I could hardly believe it.  How could they?  Who am I?  Am I spending
sleepless nights and non-existing spare time into security research of
cellular modems to give a free presentation to corporate guys at a
closed industry meeting?  The same kind of industries that create the
problems in the first place, and who don't get their act together in
building secure devices that respect people's privacy?  Certainly not.
I spend sleepless nights of hacking because I want to share the results
with my friends.  To share it with people who have the same passion,
whom I respect and trust.  To help my fellow hackers to understand
technology one step more.&lt;/p&gt;
&lt;p&gt;If that kind of request to undermine the researcher/authors initial
publication among friends is happening to me, I'm quite sure it must be
happening to other speakers at the 33C3 or other events, too.  And that
makes me very sad.  I think the initial publication is something that
connects the speaker/author with his audience.&lt;/p&gt;
&lt;p&gt;Let's hope the researchers/hackers/speakers have sufficiently strong
ethics to refuse such requests.  If certain findings are initially
published at a certain conference, then that is the initial publication.
Period.  Sure, you can ask afterwards if an author wants to repeat the
presentation (or a similar one) at other events.  But &lt;em&gt;pre-empting&lt;/em&gt; the
initial publication?  Certainly not with me.&lt;/p&gt;
&lt;p&gt;I offered the GSMA that I could talk on the importance of having FOSS
implementations of cellular protocol stacks as enabler for security
research, but apparently this was not to their interest.  Seems like all
they wanted is an exclusive heads-up on work they neither commissioned
or supported in any other way.&lt;/p&gt;
&lt;p&gt;And btw, I don't think what Holger and I will present about is all that
exciting in the first place.  More or less the standard kind of security
nightmares.  By now we are all so numbed down by nobody considering
security and/or privacy in design of IT systems, that is is hardly any
news.  IoT how it is done so far might very well be the doom of
mankind. An unstoppable tsunami of insecure and privacy-invading
devices, built on ever more complex technology with way too many
security issues.  We shall henceforth call IoT the Industry of
Thoughtlessness.&lt;/p&gt;</description><category>cellular</category><category>gsm</category><category>osmocom</category><category>security</category><guid>https://laforge.gnumonks.org/blog/20161206-it_security_culture_telecoms/</guid><pubDate>Tue, 06 Dec 2016 00:00:00 GMT</pubDate></item></channel></rss>