Deffarm’s blog

底辺レベルの英会話をコツコツと...

test

name: Custom.Windows.Sysinternals.Autoruns2
description: |
  Uses Sysinternals autoruns to scan the host.

  Note this requires syncing the sysinternals binary from the host.

precondition: SELECT OS From info() where OS = 'windows'

parameters:
  - name: All
    type: bool
    default: Y
  - name: Boot execute
    type: bool
  - name: Codecs
    type: bool
  - name: Appinit DLLs
    type: bool
  - name: Explorer addons
    type: bool
  - name: Sidebar gadgets (Vista and higher)
    type: bool
  - name: Image hijacks
    type: bool
  - name: Internet Explorer addons
    type: bool
  - name: Known DLLs
    type: bool
  - name: Logon startups (this is the default)
    type: bool
  - name: WMI entries
    type: bool
  - name: Winsock protocol and network providers
    type: bool
  - name: Office addins
    type: bool
  - name: Printer monitor DLLs
    type: bool
  - name: LSA security providers
    type: bool
  - name: Autostart services and non-disabled drivers
    type: bool
  - name: Scheduled tasks
    type: bool
  - name: Winlogon entries
    type: bool
  - name: Verify digital signatures
    type: bool
    default: Y
  - name: ToolInfo
    type: hidden
    description: Override Tool information.

sources:
  - query: |
      LET Flags = '''Option,Name
      *,All
      b,Boot execute
      c,Codecs
      d,Appinit DLLs
      e,Explorer addons
      g,Sidebar gadgets (Vista and higher)
      h,Image hijacks
      i,Internet Explorer addons
      k,Known DLLs
      l,Logon startups (this is the default)
      m,WMI entries
      n,Winsock protocol and network providers
      o,Office addins
      p,Printer monitor DLLs
      r,LSA security providers
      s,Autostart services and non-disabled drivers
      t,Scheduled tasks
      w,Winlogon entries
      '''

      LET Options = '''Option,Name
      -s,Verify digital signatures
      '''

      -- The flags actually selected
      LET flags = SELECT Option FROM parse_csv(accessor="data", filename=Flags)
        WHERE get(field=Name)

      -- The options actually selected
      LET options = SELECT Option FROM parse_csv(accessor="data", filename=Options)
        WHERE get(field=Name)

      LET os_info <= SELECT Architecture FROM info()
      
      // Get the path to the binary.
      LET autoruns_path = 'C:\Windows\System32\Autoruns64.exe'

      // Call the binary and return all its output in a single row.
      LET output = SELECT * FROM execve(argv=[bin[0].OSPath,
            '-nobanner', '-accepteula', '-t', '-a',
            join(array=flags.Option, sep=""),
            join(array=options.Option, sep=" "),
            '-c', -- CSV output
            '-h', -- Also calculate hashes
            '*'   -- All user profiles.
      ], length=10000000)

      // Parse the CSV output and return it as rows. We can filter this further.
      SELECT * FROM if(condition=bin,
      then={
        SELECT * FROM foreach(
          row=output,
          query={
             SELECT * FROM parse_csv(filename=utf16(string=Stdout),
                                     accessor="data")
          })
      })
name: Windows.Memory.HollowsHunter2
description: |
   Use hollows_hunter to detect suspicious process injections.

   Upload any findings to the server, including process dumps.

precondition:
   SELECT OS From info() where OS = 'windows'
   
sources:
  - name: Output
    query: |
      LET binaries = 'C:\Windows\System32\hollows_hunter64.exe'
      SELECT *
      FROM execve(argv=[binaries[0].FullPath,"/hooks",
           "/json", "/dir", TempDir], sep="\n")
           
  - name: Summary
    query: |
      LET LookupPid(pid) = SELECT Name, CommandLine, Exe FROM pslist(pid=pid)

      SELECT *, LookupPid(pid=pid)[0] AS ProcessInfo
      FROM foreach(row=parse_json(
            data=read_file(filename=TempDir + "/summary.json")).suspicious)  
            
  - name: Uploads
    query: |
      SELECT upload(file=FullPath) AS Upload
      FROM glob(globs="*", root=TempDir)

英会話勉強 第3日目

言えなかった単語

  • lifting
    • 持ち上げる
      • 筋トレとかでバーベルを持ち上げるときに使える。
      • 例文:I'm power lifting
  • set and rep
    • 筋トレとかの回数とセット数
      • 回数はrepにする。
        • 例文:3 set of 10 reps.
  • cheap and expensive
    • 安い・高いはこの表現で
      • A is cheap. but, B is expensive.

雰囲気を伝えたい時

atmospere

  • 場所や状況の雰囲気に対して使う
  • 例文
    • How was your work?
      • あなたの仕事はどうだった?
    • It went well. The atmospere in the office was good.
      • よかったです。事務所の雰囲気はよかったです。

ambiance

  • ホテルやレストランなどの独特な雰囲気に使う
  • 例文
    • Did you enjoy the Hotel for tonight?
      • 今夜のホテルは楽しめた?
    • Yes,I liked the ambiance of the hotel.

vibe

  • 人の雰囲気に使う
  • He gave off positive vibes.

多い事に対する表現

違い

  • many:countable
  • much:uncountable
  • a lot of:both

when を使おうとして変になった表現

I go to the bath after I train.

数の数え方

  • 10:ten
  • 100:hundred
  • 1 000:thousand
  • 10 000:ten thousand
  • 100 000:hundred thousand
  • 1 000 000:milion

準備していた英会話

  • 英文
I can training back muscles by deadlifts.
I'll teach you how.
First, prepare a heavy barbell on the floor.
Then slowly lift up it to waist height.
Third, slowly place it on the floor.
Repeat about 8 times.

it's tired, but it was good training.
  • 日本語訳
デッドリフトで背筋を鍛えることができます。
その方法を教えます。
まず、床に重いバーベルを準備します。
そしてゆっくりと腰の高さまで引き上げます。
第三に、ゆっくりと床に置きます。
8回くらい繰り返します。

疲れましたが、良いトレーニングになりました。

英会話勉強 第1日目

英会話勉強 第1日目

単語

humid

  • 意 味
    • 湿気が多い
  • 例 文
    It’s very humid today.

    humidy

  • 意 味
    • 湿度
  • 例 文
    How does humidity affect temperature in different scenarios?

    dangerous

  • 意 味
    • 危険な
  • 例 文
    The river is dangerous to cross.

    portion

  • 意 味
    • 部分
  • 例 文
    The portions in the restaurant were very small.

    exchange

  • 意 味
    • 交換
      • お金とかだけじゃなくて人に対しても使える。
  • 例 文
    We exchanged greetings.
    • 私たちはあいさつを交わし合った。

      同じように使えて違う言葉

  • hear
    • 音が自然と耳に入ってくること。
      • 山の中で草木の音や鳥の鳴き声を聞くような感じ
    • 例 文 I was surprised to hear the news. listen
    • 意識して聞くこと。
      • 音楽を聴くことなど
    • 例 文 I’m listening to music.

      時間感覚の言い方

  • from to
    • いつからいつまでの言い方(場所でも使える)
    • 例 文 I work from 9 am to 5 pm on weekdays.
  • for
    • 期間を表す
    • 例 文 I went to America for 1 week.

      how was it?

  • 意 味
    • どうだった?
  • 返し方
    • A: Not (too/so) bad = そんなに悪くはなかったよ
    • B: Great = 素晴らしかったよ
    • C: Really good = すごく良かったよ
    • D: Fun = 楽しかったよ
    • E: Good/ Okay = 良かったよ

      kind to me

  • 意 味
    • 私に親切だ
  • 例 文 He's kind to me.

    Are you と Do you

  • Do you 動詞の原形 ?
    • 相手の習慣的な行動や考えを聞く時に使うことが多い。
    • 例 文
      Do you speak English?
  • Are you 名詞または形容詞 ?
    • 相手の状態や気持ちを聞く時に使うことが多い。
      • 例 文
        Are you serious?

        ~の様だ

  • It looks like
    • 見て~の様だと感じる。
    • 例 文
      It looks like he is hungry.
    • It looks と It looks like の違い
      • look(s) + 形容詞 (great)
      • look(s) like + 名詞 (a great idea)
  • It sounds like
    • 聞いて~の様だと感じる。
    • 例 文
      You sound like mom.
  • It seems like
    • どうやら~らしい
    • 例 文
      This seems like a nice idea, but it is somehow unrealistic. (これは良いアイディアのように思えるけど、どこか非現実的な気がするね。)
    • It seems thatとの違いは?
      • It seems like ~
        • カジュアルな表現
      • It seems that ~
        • フォーマルな表現