Sarah
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # SOWN Exam 2018 ## 1. Wireless basics ### a) No, because the energy being received is under the receiver sensitivity. ### b) Graph: Antenna gain +20dB and the received signal at -50dBm. There would be an additional loss of 10dB (-50dBm - -60dBm) tolerated. Note: use dB when talking about differences and dBm when talking about absolute value. ## 2. Jamming ### a) The range from which the sender succeeds in communicating with the receiver, despite jamming, because the signal from the jammer is buried in noise and the receiver can easily tell those two apart. ### b) The higher the jammer transmit power the more likely the jamming will succeed. The more signal frequencies the message has, the harder it is to be jammed. The closer the jammer-to-receiver distance, the more likely the jamming will succeed. The closer the transmitter-to-receiver distance, the less likely jamming will succeed. ## 3. Broadcast Anti-jamming ### a) Because a shared secret (key), the spreading code, is needed. Any jammer present during the establishment of the shared secret could eavesdrop on it and any following transmission would not be protected against jamming anymore. ### b) UFH includes fragment linking schemes that make the reassembling of packets possible, even under poisoning (i.e. injection of fragments) Possible schemes: hash linking, one-way accumulators, short signatures MACs would not be feasible, way too much computational effort. ### c) DSSS uses a pre-agreed spreading code, UDSSS uses any from a public set. UDSSS has to record the message and then decode it from the buffer, trying different spreading codes. ## 4. Distance Bounding ### a) d = c*t_gain = c*(t_LC - t_ED - t_HW) = c*(90-20-5)*10^(-9) Note: 10^(-9) because speed of light is in m/s and we have ns ### b) ToF with short symbols and the t_p has to be 0 ### c) t_p has to be as short as possible, or ideally 0. ### d) To reduce t_p to more or less 0, the prover does not compute a function based on the received bit, from the bit string, but instead reflects the received bit on a different channel, depending on value of the corresponding bit in the prover's own bit string. ### e) - XOR is too slow - Commit N_p beforehand against Mafia Fraud and Distance Fraud - Transmit the delay after the fast phase against Mafia Fraud (How is a MF possible???) - Distance Hijacking is not possible, because MAC is symmetric (shared secret key) ## Cellular Networks ### a) 1. The attacker overwrites service control function's address with a fake one 2. The attacker can then redirect the call to a proxy relay which can then fully record the conversation (draw picture from slide 31) ### b) - The home network and the mobile device share a key K - The visited network and the mobile device share IMSI & TMSI - The home network generates the authentication vector using K, a random number RAND(i) with a cryptographic function - The home network sends the authentication vector to the visited network - The visited network asks the mobile device to authenticate itself and sends part of the authentication vector AUTN(i) and RAND(i) to the mobile device - The mobile device checks AUTN(i) using K and RAND(i), this authenticates the home network - The mobile device calculates RES(i) using K and sends it to the visited network - The visited network compares RES(i) with the XRES(i) from the authentication vector, this authenticates the mobile device ## 6. WiFi ### a) The throughput will decrease drastically. Nodes will have spikes, where they have more throughput, followed by long spans of time, where they have no throughput. ### b) The hash of the password (MIC) is neccessary, because without this, the attacker could not be able to try different passwords in the dictionary offline. With an online attack, the AP can create rules to prevent too many attempts, making it more difficult. ## 7. GNSS Security ### a) No, because the spoofer needs to send at least 4 signals with timestamps and the receiver calculates the location based in this, independent on his true location. ### b) Multiple receivers know the distance between each other and when their relative distance to each other changes, they can detect spoofing, for example when the spoofer gives each of them the same location. Receivers can't be too close to each other, since GPS is not precise enough. If the attacker has an omnidirectional antenna, he can't attack specific receivers and has to spoof all of them to the same location. If the receivers are not close enough to each other, they will detect the spoofing. ### c) The maximal time error should be 'rho'-'delta', because the spreading codes are released at t_m+'rho', which is when every message has to be already received. Since the message has length 'delta', the latest release time to still be in time has to be t_m+'rho'-'delta'. ### d) No. ### e) The attacker can change the location of the victim by recording the message, jam it and replay it later (replay attack). However, this is far more effort than just creating a new message, which is why this attack probably is not a huge threat. The attacker has less locations that can be spoofed, because of the time synchronization. ## 8. Broadcast authentication: TESLA ### a) Because for message verification, the message has to be received within the key validity interval, before the key was disclosed. ### b) 1. The receiver verifies that the hash of the key received is the key of the last time interval or the public known and certified key K_0 of the transmitter 2. The receiver uses a public known one-way function to derive the signing key from the received key 3. The receiver authenticates using the signing key and saves the received key for the next round ### c) That F is a one-way hash function and the key is only used within its interval. Each key is explicitly disclosed in cleartext after the interval. ### d) Less expensive overhead in terms of time to sign and verify. Replay attacks would be prevented. No cryptographic primitives are needed. ## 9. Physical-layer key establishment ### a) Shake-it-up, because they only need to tell each other their names, which is possible in almost all hardware. ### b) The property that the distortion of the signal which is sent at both ends of the key establishment is the same and therefore this distortion can be used as key. However, this only works if the attacker is at least 'lambda'/2 wavelengths away from both antennas that want to establish a key, else the attacker could retrieve the key as well. The entropy originates from multipath-fading. ## 10. Physical-layer confidentiality ### a) The transmitter knows the channels to the intended receiver as well as to the attacker. This allows to encode the data such that it can be measured at the receiver whilst the attacker measures nothing related to the data. ### b) The data is encoded, such that the attacker will receive data mixed with random noise. The attacker needs to be more than 'lambda'/2 away from the receiver. ### c) Protecting against eavesdropping requires that the eavesdropper is unable to separate the signals from the protected device from those originating at the collaborating device. For this to hold, the channel from the protected device to the attacker should not be correlated to the channel from the collaborating device to the attacker. To ensure this, the protected device and the collaborating device need to be typically placed less than half a carrier wavelength apart. ## 11. Integrity Codes ### a) In Integrity Codes we assumes that the sender is always sending and encodes the message in a specific way such that there is the same amount of 0s and 1s in the message. As a delimiter the mark the beginning and end of the message we use a sequence that is not possible with that encodeing but still has the same number of 0s and 1s. The receiver verifies that the message has the same number of 0s and 1s. ### b) The receiver is in the transmission range of the transmitter. ### c) The attacker can't change a 1 into a 0 with non negligible probability. ## 12. und 13. waren kein VL-Stoff ## 14. MC ### a) A. Wrong, the receiver subtracts the jamming noise (has to know the jamming noise) B. Wrong, because it is not for authentication C. True D. True, because beamforming directs more power to the direction of the receiver (have to know where the receiver is) ### b) A. Wrong, we just solved an exercise where we described an attack against Kuhn B. True ### c) B is true ### d) B is true

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully