Search topics and sections

Abdusalam Abubakar is a Somali-born mathematician and software engineer based in Ireland. In January 2007, at age 16 and a student at Synge Street CBS in Dublin, he was named BT Young Scientist of the Year for a mathematics project titled "An Extension of Wiener's Attack on RSA".[1] The project studied when messages protected by the RSA encryption system can be attacked.

Later in 2007 he won one of three joint first prizes at the European Union Contest for Young Scientists in Valencia, Spain.[2][3] He went on to study mathematics at Dublin City University and to work as a software engineer.[4][5]

Early life and education

Abubakar was born in Somalia. His family moved from Somalia to Kenya in 1994, where he learned English.[6] He moved to Ireland in 2005 to join his father, who had lived there since 1999.[1]

Timeline of Abdusalam Abubakar's life1994family moves fromSomalia to Kenya2005moves to Ireland,joins SyngeStreet CBSJan 2006group project onnew algebras winscategory first placeJun 2006starts RSA project12 Jan 2007BT Young Scientistof the YearSep 2007joint first prize,EU Contest forYoung Scientists,Valencia2010starts mathematicsdegree at DublinCity University2017software engineerat Ericsson,Athlone
Major events in the life of Abdusalam Abubakar, from his family's move to Kenya in 1994 to his software engineering work at Ericsson in 2017. Pink markers show his two science awards in 2007. The spacing is not to scale.

In Dublin he went to Synge Street CBS. He has named his science and mathematics teacher there, Jim Cooke, as a strong influence.[7] In September 2007 he moved to St Benildus College, where he studied for the Leaving Certificate, Ireland's final secondary-school exam.[7]

First project: new algebras (2006)

Abubakar's first entry at the Young Scientist and Technology Exhibition came only a few months after he arrived in Ireland.[7] He worked in a group with two other Synge Street students, Nazmi Gendj and Saydom Tsegaburhan.

  • The group won first place in the Junior Group Mathematical, Physical and Chemical Sciences category in January 2006.[7]
  • By Abubakar's account, they invented two new algebras similar to the Icosian calculus, which William Rowan Hamilton created in the 1850s, extending Hamilton's work.[7]
  • He recalls that the group found the missing ideas on 29 December 2005, a little more than a week before the exhibition.[7]

Young Scientist of the Year (2007)

Abubakar won the top award at the BT Young Scientist and Technology Exhibition on 12 January 2007, as a third-year student at Synge Street CBS.[1] He had started the project in June 2006.[7]

  • Project: "An Extension of Wiener's Attack on RSA", entered in the Chemical, Physical and Mathematical Sciences category.[6]
  • Entries: 500 projects by 1,145 students reached the finals, and 100 prizes were given.[1]
  • Prize: a cheque for €5,000, a Waterford Crystal trophy, and the chance to represent Ireland at the EU Contest for Young Scientists.[1]

The judges praised how he "mastered enormously complex mathematics" that limits the security of encrypted messages. They added that "for a student still in second level, such command and insight into cutting edge mathematical research is remarkable."[1]

The RSA project

The project belongs to cryptography, the study of keeping messages secret. It builds on a known attack on RSA, a widely used public-key system that is "deployed in many commercial systems".[8]

How RSA works

RSA lets anyone lock a message with a public key, while only the holder of a matching private key can unlock it.[8] It was invented by Ron Rivest, Adi Shamir, and Len Adleman and first made public in 1977.[8]

The keys come from two large prime numbers pp and qq of about the same size.[8]

N=pq,φ(N)=(p−1)(q−1),ed≡1(modφ(N))N = pq, \qquad \varphi(N) = (p-1)(q-1), \qquad ed \equiv 1 \pmod{\varphi(N)}
  • NN is the modulus, a number everyone can see.
  • φ(N)\varphi(N) is Euler's totient of NN, which only someone who knows pp and qq can compute easily.
  • ee is the encryption exponent. The public key is the pair (N,e)(N, e).
  • dd is the decryption exponent. The private key is the pair (N,d)(N, d).

To encrypt a message MM (written as a number), the sender computes C=Me mod NC = M^e \bmod N. The receiver recovers MM by computing Cd mod NC^d \bmod N.[8]

Wiener's attack

A small dd makes decryption faster, which saves work on low-power devices such as smart cards.[8] In 1990 Michael J. Wiener showed that this shortcut is unsafe if dd is too small.[3][9] His method is now called Wiener's attack.

The attack uses the following result, in the form usually quoted.[9] Suppose p<q<2pp < q < 2p and e<Ne < N. If

d<13N1/4,d < \tfrac{1}{3} N^{1/4},

then dd is the denominator of one of the convergents of the continued fraction of e/Ne/N. A convergent is one of the fractions you get by cutting a continued fraction off after a few steps.

The reason is that ed−kφ(N)=1ed - k\varphi(N) = 1 for some whole number kk, and φ(N)\varphi(N) is close to NN, so k/dk/d is very close to e/Ne/N.[9] A classical theorem of Legendre says that any fraction a/ba/b with ∣x−a/b∣<1/(2b2)|x - a/b| < 1/(2b^2) must be a convergent of xx.[9][10] The attack then runs in these steps.

  1. Take the public key (N,e)(N, e).
  2. Expand e/Ne/N as a continued fraction.
  3. List its convergents. There are only about log⁡N\log N of them.[8][9]
  4. Test the denominator of each convergent as a guess for dd. One of them is the true dd.[8]
Steps of Wiener's attack on RSAPublic key(N, e)known toeveryoneContinuedfractionof e/NConvergentsk₁/d₁, k₂/d₂, …about log Nof themTest eachdenominatoras a guessfor dPrivateexponent dfoundWorks when d < (1/3)·N^(1/4), with p < q < 2p and e < N
Wiener's attack on RSA runs in four steps. It expands the public ratio e/Ne/N as a continued fraction, then tests each convergent's denominator did_i as the private exponent, and it works when d<13N1/4d < \tfrac{1}{3}N^{1/4}, p<q<2pp < q < 2p, and e<Ne < N.

In practice, the attack sets a minimum size for dd. For a typical 1,024-bit modulus, dd must be at least 256 bits long to avoid it.[8]

Later work raised the bound on how small dd can safely be. Dan Boneh and Glenn Durfee showed in 1999 that dd can be found efficiently whenever d<N0.292d < N^{0.292}.[8][10] In his 1999 survey Boneh wrote that the true bound is likely d<N0.5d < N^{0.5} and listed this as an open problem.[8]

What the project added

Abubakar's project asked whether a user could keep fast decryption by picking dd just above the range that Wiener's attack covers.[3] His abstract calls the limit d≈N1/4d \approx N^{1/4} the "n1/4n^{1/4} barrier" and studies attacks beyond it.

  • It builds on work by Andrej Dujella, who extended Legendre's theorem.[3]
  • It generalizes Dujella's inequality and proves theorems that form the basis for Wiener-type attacks beyond the barrier.[3]
  • It also covers attacks of the type found by M. J. Hinek in 2004, which target very large decryption exponents.[3]
Bounds on the RSA decryption exponent for small-exponent attacks00.250.2920.5Wiener's attack (1990)d < (1/3) N^(1/4)Boneh and Durfee (1999)d < N^0.292Bound Boneh conjectured in 1999(open problem)Small d: fast decryption but unsafeAbubakar's project (2007)attacks just beyond the N^(1/4) barrierSize of d (d = N^x)
Bounds on the size of the RSA decryption exponent d=Nxd = N^x, for xx from 0 to 0.5. Wiener's attack (1990) covers d<13N1/4d < \tfrac{1}{3}N^{1/4} and Boneh and Durfee (1999) extend it to d<N0.292d < N^{0.292}; Abubakar's 2007 project studied attacks just beyond the N1/4N^{1/4} barrier, and in 1999 Boneh conjectured a bound of N0.5N^{0.5} as an open problem.

The judges said he "increased the security of keys by improving the rigour of the encryption process".[6] The European Commission summed up the work as showing "when an encrypted message could, in theory, be attacked."[2]

Press descriptions

Some newspapers described the project in stronger terms than the project's own abstract. One headline called him a "teen hacker", and another report said he had found a way to crack the encryption used by banks and the military.[11][1] The abstract itself concerns keys with a decryption exponent near or beyond Wiener's bound, rather than a general break of RSA.[3]

After the win he was learning the programming language C++ to develop the work further.[6] He spent much of summer 2007 on difficult computer programming to improve the project before the European contest.[7]

EU Contest for Young Scientists (2007)

Abubakar represented Ireland at the 19th European Union Contest for Young Scientists, held in Valencia, Spain, in September 2007.[7][2] The contest drew 81 entries from 30 countries, all from students aged 14 to 20 who had already won a national competition.[2]

The first prize was shared by three projects, each receiving €5,000.[2][3]

Country Contestants Field Project
Germany Florian Ostermaier, Henrike Wilms Physics Flashing Water Drops
Hungary Márton Spohn Chemistry Examination of the Plants' Self-Defence Against Pests
Ireland Abdusalam Abubakar Mathematics An Extension of Wiener's Attack on RSA Encryption

Abubakar also received a London International Youth Science Forum award, a two-week science event for young scientists.[2] He has said that Sarah Flannery, who won first place for Ireland at the contest in 1999 with a cryptography project, inspired him throughout his work.[7]

Later life

In February 2007, a month after his BT win, Professor Gary McGuire invited him to visit the Claude Shannon Institute at University College Dublin.[7] This led to an interest in elliptic-curve cryptography. In summer 2008 he studied number theory and elliptic-curve cryptography.[7]

After the Leaving Certificate he took a gap year to travel in Africa. In 2010 he began a mathematics degree at Dublin City University.[4] Reports differ on the course name, with one calling it applied mathematics and another financial mathematics.[4][12]

He later took postgraduate courses in data science and analytics at University College Cork and in software development at the Dublin Institute of Technology.[5] In 2017 he was a software engineer with Ericsson in Athlone, County Westmeath.[5]

References

  1. Student wins young scientist award, Irish Examiner, 2007.
  2. Winners of EU contest for young scientists announced, CORDIS, European Commission, 2007.
  3. Welcome to Valencia! The EU Contest for Young Scientists, Science in School, 2008.
  4. Teachers, bankers, pharmacists and surgeons. Where are the young scientists now?, The Irish Times, 2014.
  5. Ireland to host Europe's top competition for young scientists in 2018, The Irish Times, 2017.
  6. Ireland's BT Young Scientist, Magill, 2007.
  7. Interview with 2007 winner Abdusalam Abubakar, BT Young Scientist & Technology Exhibition blog, 2009.
  8. Twenty years of attacks on the RSA cryptosystem, D. Boneh, Notices of the American Mathematical Society, 1999.
  9. A variant of Wiener's attack on RSA, A. Dujella, arXiv, 2008.
  10. On the improvement of Wiener attack on RSA with small private exponent, The Scientific World Journal, 2014.
  11. Teen hacker is top young scientist, Irish Independent, 2007.
  12. Previous Young Scientist winners: where are they now?, Irish Examiner, 2014.

Figure